get_bot_app()

async Client.get_bot_app()

Get information about a bot web app.

Usable by Users Bots
Parameters:
  • app (InputBotApp) – The bot app to get info for.

  • hash (int, optional) – Hash for caching.

Returns:

BotApp – The bot app info.

Example

info = await app.get_bot_app(raw.types.InputBotAppShortName(bot=bot, short_name="myapp"))