bots.GetPreviewMedias
- class pyrogram.raw.functions.bots.GetPreviewMedias
Fetch main mini app previews, see here » for more info.
- Details:
Layer:
223ID:
A2A5594D
- Parameters:
bot (
InputUser) – The bot that owns the Main Mini App.- Returns:
List of
BotPreviewMedia
TL Schema
bots.getPreviewMedias#a2a5594d
bot:InputUser
= Vector<BotPreviewMedia>
Parameter Tree
GetPreviewMedias
└── bot →
InputUser├──
InputUserEmpty├──
InputUserSelf├──
InputUser│ ├── user_id →
long│ └── access_hash →
long├── peer →
InputPeer│ ├──
InputPeerEmpty│ ├──
InputPeerSelf│ ├──
InputPeerChat│ ├──
InputPeerUser│ ├──
InputPeerChannel│ ├──
InputPeerUserFromMessage├── msg_id →
int└── user_id →
longExample
await app.invoke(
GetPreviewMedias(
bot=await app.resolve_user(chat_id),
)
)