-
hello, ive setup an hook, but there is no docs available for doing something like this maybe?
``` php
try {
// Create Telegram API object
$telegram = new \Longman\TelegramBo…
-
``` php
$data['chat_id'] = $query->getMessage()->getChat()->getId();
$path = realpath('/Calendar.png');
Request::sendPhoto($data, $path);
```
Hi, i used `Request::sendPhoto($data, $path)` for send ph…
-
Hello!
How to debug commands using webhook?
Logging enabled:
``` php
Longman\TelegramBot\Logger::initialize(getcwd() . '/TelegramException.log');
$telegram->setLogRequests(true);
$telegram->setLogP…
-
Hi. I tested examples commands and found a bug.
```
PHP Fatal error: Class 'Longman\\TelegramBot\\Commands\\UserCommands\\ReplyKeyboardHide' not found in ......../Commands/HidekeyboardCommand.php on…
-
Can i create command with custom namespace
-
Hi Guys, first off thanks for the good work.
However I'm running into an issue. I have tried following the tutorial in the wiki on how to create custom commands.
I'm trying to use a custom directo…
-
With new update I;m getting this error message:
[2016-05-18 23:10:27] prod.ERROR: ErrorException: PDOStatement::execute(): SQLSTATE[42S22]: Column not found: 1054 Unknown column 'forward_from_chat' i…
-
Maybe it's no use to anyone, but I was helped.
I need a command in the Cyrillic alphabet. I added a few lines in "Telegram.php" file:
```
protected function mb_ucwords($str, $encoding = 'UTF-8') …
-
Hi,
i try to use the InlineQuery command and get the following Error/Warning:
{"ok":false,"error_code":400,"description":"Bad request: Field \"input_message_content\" must be of type Object"}
{"update…
-
Hello!
I use `getUpdate` method. In Telegram client I see much commands after `/start` that I don't really need, like `/weather` or `/date`. How to correctly disable them?
Also some commands I want …