Layer 220
BotsGetPreviewMedias
Fetch main mini app previews, see here for more info.
method
Users
bots.getPreviewMedias#a2a5594d bot:InputUser = Vector<BotPreviewMedia>;
Parameters
| Name | Type | Description |
|---|---|---|
| Bot | InputUser | The bot that owns the Main Mini App. |
Returns
VectorPossible Errors
| Code | Type | Description |
|---|---|---|
| 400 | BOT_INVALID | This is not a valid bot. |
Gogram Example
// BotsGetPreviewMedias - positional arguments result, err := client.BotsGetPreviewMedias(&tg.InputUserSelf{}) if err != nil { // handle error } // result is *tg.Vector