TelegramBot / Api

Native PHP Wrapper for Telegram BOT API
MIT License
1.09k stars 323 forks source link

receive fatal error when using examples #350

Open arashnz opened 2 years ago

arashnz commented 2 years ago

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