Class TdApi.ReorderBotMediaPreviews

Enclosing class:
TdApi

public static class TdApi.ReorderBotMediaPreviews extends TdApi.Function<TdApi.Ok>
Changes order of media previews in 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 in the new order.
    Language code of the media previews to reorder.
  • Constructor Summary

    Constructors
    Constructor
    Description
    Default constructor for a function, which changes order of media previews in the list of media previews of a bot.
    ReorderBotMediaPreviews(long botUserId, String languageCode, int[] fileIds)
    Creates a function, which changes order of media previews in 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 reorder.
    • fileIds

      public int[] fileIds
      File identifiers of the media in the new order.
    • CONSTRUCTOR

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

    • ReorderBotMediaPreviews

      public ReorderBotMediaPreviews()
      Default constructor for a function, which changes order of media previews in the list of media previews of a bot.

      Returns Ok

    • ReorderBotMediaPreviews

      public ReorderBotMediaPreviews(long botUserId, String languageCode, int[] fileIds)
      Creates a function, which changes order of media previews in 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 reorder.
      fileIds - File identifiers of the media in the new order.
  • 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