Layer 227
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 BotsPreviewInfoObj constructor
obj := &tg.BotsPreviewInfoObj{
    Media: &tg.VectorBotPreviewMedia{},
    LangCodes: "Hello, World!",
}