messages.GetBotApp

class pyrogram.raw.functions.messages.GetBotApp

Obtain information about a direct link Mini App

Details:
  • Layer: 223

  • ID: 34FDC5C3

Parameters:
  • app (InputBotApp) – Bot app information obtained from a Direct Mini App deep link ».

  • hash (int 64-bit) – Hash used for caching, for more info click here

Returns:

messages.BotApp

TL Schema

messages.getBotApp#34fdc5c3
app:InputBotApp
hash:long

= messages.BotApp

Parameter Tree

GetBotApp
├── appInputBotApp
│ ├── InputBotAppID
│ │ ├── idlong
│ │ └── access_hashlong
│ └── InputBotAppShortName
│ ├── bot_idInputUser
│ │ ├── InputUserEmpty
│ │ ├── InputUserSelf
│ │ ├── InputUser
│ │ └── InputUserFromMessage
│ └── short_namestring
└── hashlong

Example

await app.invoke(
    GetBotApp(
        app=InputBotAppID(
            id=0,
            access_hash=0
        ),
        hash=0,
    )
)