Api icon indicating copy to clipboard operation
Api copied to clipboard

receive fatal error when using examples

Open arashnz opened this issue 3 years ago • 0 comments

Hello,

I installed this repo using composer, the problem is when i want to use examples in wiki page (https://github.com/TelegramBot/Api/wiki/Some-basic-examples) for example "callbackQuery (Wait for someone clicking on an inline button)" i got fatal error : Fatal error: Uncaught Error: Call to undefined method TelegramBot\Api\BotApi::callbackQuery() how can i solve this? I can't understand what is $message there? or how can i access callbackQuery method (seems its not exists)

thank you

arashnz avatar Oct 24 '21 09:10 arashnz