Package org.drinkless.tdlib
Class TdApi.ReorderStoryAlbums
- Enclosing class:
- TdApi
Changes order of story albums. If the albums are owned by a supergroup or a channel chat, then requires canEditStories administrator right in the chat.
Returns Ok
-
Field Summary
FieldsModifier and TypeFieldDescriptionlongIdentifier of the chat that owns the stories.static final intIdentifier uniquely determining type of the object.int[]New order of story albums. -
Constructor Summary
ConstructorsConstructorDescriptionDefault constructor for a function, which changes order of story albums.ReorderStoryAlbums(long chatId, int[] storyAlbumIds) Creates a function, which changes order of story albums. -
Method Summary
Modifier and TypeMethodDescriptionintReturns an identifier uniquely determining type of the object.Methods inherited from class org.drinkless.tdlib.TdApi.Function
toString
-
Field Details
-
chatId
public long chatIdIdentifier of the chat that owns the stories. -
storyAlbumIds
public int[] storyAlbumIdsNew order of story albums. -
CONSTRUCTOR
public static final int CONSTRUCTORIdentifier uniquely determining type of the object.- See Also:
-
-
Constructor Details
-
ReorderStoryAlbums
public ReorderStoryAlbums()Default constructor for a function, which changes order of story albums. If the albums are owned by a supergroup or a channel chat, then requires canEditStories administrator right in the chat.Returns
Ok -
ReorderStoryAlbums
public ReorderStoryAlbums(long chatId, int[] storyAlbumIds) Creates a function, which changes order of story albums. If the albums are owned by a supergroup or a channel chat, then requires canEditStories administrator right in the chat.Returns
Ok- Parameters:
chatId- Identifier of the chat that owns the stories.storyAlbumIds- New order of story albums.
-
-
Method Details
-
getConstructor
public int getConstructor()Description copied from class:TdApi.ObjectReturns an identifier uniquely determining type of the object.- Specified by:
getConstructorin classTdApi.Object- Returns:
- this.CONSTRUCTOR
-