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:
223ID:
908C0407
- Parameters:
bot_id (
InputUser) – ID of the bot that owns the bot mini appshort_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_id →
InputUser│ ├──
InputUserEmpty│ ├──
InputUserSelf│ ├──
InputUser│ │ ├── user_id →
long│ │ └── access_hash →
long│ └──
InputUserFromMessage│ ├── peer →
InputPeer│ │ ├──
InputPeerEmpty│ │ ├──
InputPeerSelf│ │ ├──
InputPeerChat│ │ ├──
InputPeerUser│ │ ├──
InputPeerChannel│ │ ├──
InputPeerUserFromMessage│ │ └──
InputPeerChannelFromMessage│ ├── msg_id →
int│ └── user_id →
long└── short_name →
stringExample
InputBotAppShortName(
bot_id=await app.resolve_user(chat_id),
short_name="text",
)