Class TdApi.DeleteBotMediaPreviews

Enclosing class:
TdApi

public static class TdApi.DeleteBotMediaPreviews extends TdApi.Function<TdApi.Ok>
Deletes media previews from the list of media previews of a bot.

Returns Ok

  • Field Details

    • botUserId

      public long botUserId
      Identifier of the target bot. The bot must be owned and must have the main Web App.
    • languageCode

      public String languageCode
      Language code of the media previews to delete.
    • fileIds

      public int[] fileIds
      File identifiers of the media to delete.
    • CONSTRUCTOR

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

    • DeleteBotMediaPreviews

      public DeleteBotMediaPreviews()
      Default constructor for a function, which deletes media previews from the list of media previews of a bot.

      Returns Ok

    • DeleteBotMediaPreviews

      public DeleteBotMediaPreviews(long botUserId, String languageCode, int[] fileIds)
      Creates a function, which deletes media previews from the list of media previews of a bot.

      Returns Ok

      Parameters:
      botUserId - Identifier of the target bot. The bot must be owned and must have the main Web App.
      languageCode - Language code of the media previews to delete.
      fileIds - File identifiers of the media to delete.
  • 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.Function<TdApi.Ok>
      Returns:
      this.CONSTRUCTOR