Class TdApi.BotMediaPreviewInfo

java.lang.Object
dev.voroby.springframework.telegram.client.TdApi.Object
dev.voroby.springframework.telegram.client.TdApi.BotMediaPreviewInfo
Enclosing class:
TdApi

public static class TdApi.BotMediaPreviewInfo extends TdApi.Object
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.
  • Field Details

    • previews

      public TdApi.BotMediaPreview[] previews
      List of media previews.
    • languageCodes

      public String[] languageCodes
      List of language codes for which the bot has dedicated previews.
    • CONSTRUCTOR

      public static final int CONSTRUCTOR
      Identifier uniquely determining type of the object.
      See Also:
  • Constructor Details

    • BotMediaPreviewInfo

      public BotMediaPreviewInfo()
      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.
    • BotMediaPreviewInfo

      public BotMediaPreviewInfo(TdApi.BotMediaPreview[] previews, String[] languageCodes)
      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.
      Parameters:
      previews - List of media previews.
      languageCodes - List of language codes for which the bot has dedicated previews.
  • Method Details

    • getConstructor

      public int getConstructor()
      Description copied from class: TdApi.Object
      Returns an identifier uniquely determining type of the object.
      Specified by:
      getConstructor in class TdApi.Object
      Returns:
      this.CONSTRUCTOR