Bot:: Library Functions
The Bot:: class provides built-in helper functions to simplify working with your Telegram bots in PHP. Here's a list of available methods you can use inside your command code editor:
π¨ Bot::sendMessage()
Bot::sendMessage($chatId, $message, $parse_type = 'HTML');Bot::sendMessage($chatId, "Hello <b>World</b>!", "HTML");πΎ Bot::setProperty()
Bot::setProperty('key', 'value');π Bot::getProperty()
β Bot::deleteProperty()
π€ Bot::getUser()
π Bot::getAllUser()
π’ Bot::runAll()
π§© Bot::runCommand()
π Bot::getPublicCommandUrl()
π Bot::getBotLink()
Last updated