Sponsored Content
The Lounge What is on Your Mind? Telegram Bots - Bot Code Examples Post 303016021 by Neo on Wednesday 18th of April 2018 08:53:51 AM
Old 04-18-2018
Hmmmm.

Darn!

PHP Telegram Bot based on the official Telegram Bot API

Only works with PHP 5.5 or greater, but we are at 5.3. I tried a number of hacks but could not get that code to work on PHP 5.3 even with my hacks and mods.

After reviewing all the recommended PHP libs for Telegram, all require PHP 5.5+ and we are still at 5.3, so maybe I should put this off until we port the site to PHP 7.

Ugghhhhh
 

3 More Discussions You Might Find Interesting

1. UNIX for Dummies Questions & Answers

Bots

Hi i just joined i was wanting to know if anyone knew a good program or something to help me create a bot? (1 Reply)
Discussion started by: Bigin
1 Replies

2. What is on Your Mind?

Hunting Anomalous Bots - An Introduction to Cyber-Objects - Live From Cyberspace

https://www.unix.com/members/1-albums212-picture687.png Hunting Anomalous Bots - An Introduction to Cyber-Objects - Live From Cyberspace Click title image (above) for video tutorial. (5 Replies)
Discussion started by: Neo
5 Replies

3. UNIX for Beginners Questions & Answers

Automation using bots in Linux/UNIX ?

Hi folks, has any one attempted using bots for performing tasks in unix?please share if you faced any challenges thanks (1 Reply)
Discussion started by: tommy812
1 Replies
SIGPROCMASK(2)							System Calls Manual						    SIGPROCMASK(2)

NAME
sigprocmask - manipulate the signal mask SYNOPSIS
#include <signal.h> int sigprocmask(int how, const sigset_t *set, sigset_t *oset) DESCRIPTION
Sigprocmask() examines or manipulates the signal mask. This mask is the set of signals that are currently blocked. The how argument determines the action that must be performed. In all cases the signal set referenced by oset, if not NULL, will be used to receive the old signal mask. The set argument, if not NULL, will be used to set or modify the current signal mask. How can be one of: SIG_BLOCK Add the signals referenced by set to the mask. SIG_UNBLOCK Remove the signals referenced by set from the mask. SIG_SETMASK Set the signal mask to the set referenced by set. The value of how is ignored if set is NULL. SEE ALSO
sigaction(2), sigpending(2), sigsuspend(2), sigset(3). DIAGNOSTICS
Returns 0 on success and -1 on error. The error code is EFAULT for a bad set or oset address, or EINVAL for a bad how argument. AUTHOR
Kees J. Bot (kjb@cs.vu.nl) SIGPROCMASK(2)
All times are GMT -4. The time now is 11:09 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy