InputBotAppShortName

class pyrogram.raw.types.InputBotAppShortName

Used to fetch information about a direct link Mini App by its short name

Constructor of InputBotApp.

Details:
  • Layer: 223

  • ID: 908C0407

Parameters:
  • bot_id (InputUser) – ID of the bot that owns the bot mini app

  • short_name (str) – Short name, obtained from a Direct Mini App deep link

TL Schema

inputBotAppShortName#908c0407
bot_id:InputUser
short_name:string

= InputBotApp

Parameter Tree

InputBotAppShortName
├── bot_idInputUser
│ ├── InputUserEmpty
│ ├── InputUserSelf
│ ├── InputUser
│ │ ├── user_idlong
│ │ └── access_hashlong
│ └── InputUserFromMessage
│ ├── peerInputPeer
│ │ ├── InputPeerEmpty
│ │ ├── InputPeerSelf
│ │ ├── InputPeerChat
│ │ ├── InputPeerUser
│ │ ├── InputPeerChannel
│ │ ├── InputPeerUserFromMessage
│ │ └── InputPeerChannelFromMessage
│ ├── msg_idint
│ └── user_idlong
└── short_namestring

Example

InputBotAppShortName(
    bot_id=await app.resolve_user(chat_id),
    short_name="text",
)