- API ›
- Constructors ›
- Bots ›
- PreviewInfo
PreviewInfo
---types--- bots.previewInfo#0ca71d64 media:Vector<BotPreviewMedia> lang_codes:Vector<string> = bots.PreviewInfo
Belongs to
| bots.PreviewInfo |
In Rust this constructor is a variant of the enums::bots.PreviewInfo enum.
Match on it with: if let enums::bots.PreviewInfo::PreviewInfo(v) = result { ... }
Parameters
| media | Vector<BotPreviewMedia> | required |
| lang_codes | Vector<string> | required |