messages.GetPreparedInlineMessage
- class pyrogram.raw.functions.messages.GetPreparedInlineMessage
Obtain a prepared inline message generated by a mini app: invoked when handling web_app_send_prepared_message events
- Details:
Layer:
223ID:
857EBDB8
- Parameters:
bot (
InputUser) – The bot that owns the mini app that emitted the web_app_send_prepared_message eventid (
str) – The id from the web_app_send_prepared_message event
- Returns:
TL Schema
messages.getPreparedInlineMessage#857ebdb8
bot:InputUser
id:string
= messages.PreparedInlineMessage
Parameter Tree
GetPreparedInlineMessage
├── bot →
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└── id →
stringExample
await app.invoke(
GetPreparedInlineMessage(
bot=await app.resolve_user(chat_id),
id="text",
)
)