Class TdApi.GetBotMediaPreviews

Enclosing class:
TdApi

public static class TdApi.GetBotMediaPreviews extends TdApi.Function<TdApi.BotMediaPreviews>
Returns the list of media previews of a bot.

Returns BotMediaPreviews

  • Field Details

    • botUserId

      public long botUserId
      Identifier of the target bot. The bot must have the main Web App.
    • CONSTRUCTOR

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

    • GetBotMediaPreviews

      public GetBotMediaPreviews()
      Default constructor for a function, which returns the list of media previews of a bot.

      Returns BotMediaPreviews

    • GetBotMediaPreviews

      public GetBotMediaPreviews(long botUserId)
      Creates a function, which returns the list of media previews of a bot.

      Returns BotMediaPreviews

      Parameters:
      botUserId - Identifier of the target bot. The bot must have the main Web App.
  • Method Details