Class TdApi.BotMediaPreview

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

public static class TdApi.BotMediaPreview extends TdApi.Object
Describes media previews of a bot.
  • Field Details

    • date

      public int date
      Point in time (Unix timestamp) when the preview was added or changed last time.
    • content

      public TdApi.StoryContent content
      Content of the preview.
    • CONSTRUCTOR

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

    • BotMediaPreview

      public BotMediaPreview()
      Describes media previews of a bot.
    • BotMediaPreview

      public BotMediaPreview(int date, TdApi.StoryContent content)
      Describes media previews of a bot.
      Parameters:
      date - Point in time (Unix timestamp) when the preview was added or changed last time.
      content - Content of the preview.
  • 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