MCPcopy Create free account
hub / github.com/eternnoir/pyTelegramBotAPI / get_me

Method get_me

telebot/async_telebot.py:2805–2812  ·  view source on GitHub ↗

Returns basic information about the bot in form of a User object. Telegram documentation: https://core.telegram.org/bots/api#getme

(self)

Source from the content-addressed store, hash-verified

2803 # all methods begin here
2804
2805 async def get_me(self) -> types.User:
2806 """
2807 Returns basic information about the bot in form of a User object.
2808
2809 Telegram documentation: https://core.telegram.org/bots/api#getme
2810 """
2811 result = await asyncio_helper.get_me(self.token)
2812 return types.User.de_json(result)
2813
2814 async def get_file(self, file_id: Optional[str]) -> types.File:
2815 """

Callers 1

_process_pollingMethod · 0.95

Calls 1

de_jsonMethod · 0.45

Tested by

no test coverage detected