Class TdApi.ReorderStoryAlbumStories

Enclosing class:
TdApi

public static class TdApi.ReorderStoryAlbumStories extends TdApi.Function<TdApi.StoryAlbum>
Changes order of stories in an album. If the album is owned by a supergroup or a channel chat, then requires canEditStories administrator right in the chat. Returns the changed album.

Returns StoryAlbum

  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    long
    Identifier of the chat that owns the stories.
    static final int
    Identifier uniquely determining type of the object.
    int
    Identifier of the story album.
    int[]
    Identifier of the stories to move to the beginning of the album.
  • Constructor Summary

    Constructors
    Constructor
    Description
    Default constructor for a function, which changes order of stories in an album.
    ReorderStoryAlbumStories(long chatId, int storyAlbumId, int[] storyIds)
    Creates a function, which changes order of stories in an album.
  • 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

    • chatId

      public long chatId
      Identifier of the chat that owns the stories.
    • storyAlbumId

      public int storyAlbumId
      Identifier of the story album.
    • storyIds

      public int[] storyIds
      Identifier of the stories to move to the beginning of the album. All other stories are placed in the current order after the specified stories.
    • CONSTRUCTOR

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

    • ReorderStoryAlbumStories

      public ReorderStoryAlbumStories()
      Default constructor for a function, which changes order of stories in an album. If the album is owned by a supergroup or a channel chat, then requires canEditStories administrator right in the chat. Returns the changed album.

      Returns StoryAlbum

    • ReorderStoryAlbumStories

      public ReorderStoryAlbumStories(long chatId, int storyAlbumId, int[] storyIds)
      Creates a function, which changes order of stories in an album. If the album is owned by a supergroup or a channel chat, then requires canEditStories administrator right in the chat. Returns the changed album.

      Returns StoryAlbum

      Parameters:
      chatId - Identifier of the chat that owns the stories.
      storyAlbumId - Identifier of the story album.
      storyIds - Identifier of the stories to move to the beginning of the album. All other stories are placed in the current order after the specified stories.
  • 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