Skip to content

getBotFirstName

Eric Damian edited this page Feb 17, 2021 · 1 revision

getBotFirstName Method:

Use this method to get your actual bot first name.

Example

from python_telegram_api import telegram_bot_api

bot = telegram_bot_api.TelegramBotApi('xxxxxxxxxx:yyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyy')
print(bot.getBotFirstName())

>>> myTestBot
Clone this wiki locally