Class TdApi.DeleteBotMediaPreviews

Enclosing class:
TdApi

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

Returns Ok

  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    long
    Identifier of the target bot.
    static final int
    Identifier uniquely determining type of the object.
    int[]
    File identifiers of the media to delete.
    Language code of the media previews to delete.
  • Constructor Summary

    Constructors
    Constructor
    Description
    Default constructor for a function, which delete media previews from the list of media previews of a bot.
    DeleteBotMediaPreviews(long botUserId, String languageCode, int[] fileIds)
    Creates a function, which delete media previews from the list of media previews of a bot.
  • Method Summary

    Modifier and Type
    Method
    Description
    int
    Returns an identifier uniquely determining type of the object.

    Methods inherited from class org.drinkless.tdlib.TdApi.Function

    toString

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
  • 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 delete 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 delete 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.Object
      Returns:
      this.CONSTRUCTOR