AddBotMediaPreview constructor
const
AddBotMediaPreview({
- required int botUserId,
- required String languageCode,
- required InputStoryContent content,
Adds a new media preview to the beginning of the list of media previews of a bot. Returns the added preview after addition is completed server-side. The total number of previews must not exceed getOption("bot_media_preview_count_max") for the given language
Implementation
const AddBotMediaPreview({
required this.botUserId,
required this.languageCode,
required this.content,
});