I send
Request::send('sendChecklist', [
'chat_id' => 'my int id',
'checklist' => json_encode([
'title' => 'qwerty',
'tasks' => [
[
'id' => 1,
'text' => 'a',
],
[
'id' => 2,
'text' => 'b',
]
],
]);
via https://github.com/php-telegram-bot/core longman/telegram-bot
comment line in Request::send() before (because this is new feature)
// self::ensureValidAction($action);
And get response:
LongmanTelegramBotEntitiesServerResponse {#56
+bot_username: "my bot username"
+raw_data: array:3 [
"ok" => false
"error_code" => 400
"description" => "Bad Request: PREMIUM_ACCOUNT_REQUIRED"
]
Why?
I am premium user.