Class: TD::Types::BotMediaPreviewInfo

Inherits:
Base
  • Object
show all
Defined in:
lib/tdlib/types/bot_media_preview_info.rb

Overview

Contains a list of media previews of a bot for the given language and the list of languages for which the bot has

dedicated previews.

Instance Attribute Summary collapse

Method Summary

Methods inherited from Base

#to_hash, #to_json

Instance Attribute Details

#language_codesArray<TD::Types::String>

List of language codes for which the bot has dedicated previews.

Returns:

  • (Array<TD::Types::String>)

    the current value of language_codes



7
8
9
# File 'lib/tdlib/types/bot_media_preview_info.rb', line 7

def language_codes
  @language_codes
end

#previewsArray<TD::Types::BotMediaPreview>

List of media previews.

Returns:



7
8
9
# File 'lib/tdlib/types/bot_media_preview_info.rb', line 7

def previews
  @previews
end