Returns basic information about the bot in form of a User object. Telegram documentation: https://core.telegram.org/bots/api#getme
(self)
| 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 | """ |
no test coverage detected