Layer 220
constructor
bots.previewInfo#ca71d64 media:Vector<BotPreviewMedia> lang_codes:Vector<string> = bots.PreviewInfo;

Parameters

Name Type Description
Media Vector<BotPreviewMedia> All preview medias for the language code passed to bots. get Preview Info.
LangCodes Vector<string> All available language codes for which preview medias were uploaded (regardless of the language code passed to bots. get Preview Info ).

Gogram Example

// Creating BotsPreviewInfo constructor
obj := &tg.BotsPreviewInfo{
    Media: []tg.BotPreviewMedia{&tg.BotPreviewMedia{}},
    LangCodes: "...",
}