Package org.drinkless.tdlib
Class TdApi.CreateStoryAlbum
- Enclosing class:
- TdApi
Creates an album of stories; requires canEditStories administrator right for supergroup and channel chats.
Returns StoryAlbum
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final intIdentifier uniquely determining type of the object.Name of the album; 1-12 characters.int[]Identifiers of stories to add to the album; 0-getOption("story_album_size_max") identifiers.longIdentifier of the chat that posted the stories. -
Constructor Summary
ConstructorsConstructorDescriptionDefault constructor for a function, which creates an album of stories; requires canEditStories administrator right for supergroup and channel chats.CreateStoryAlbum(long storyPosterChatId, String name, int[] storyIds) Creates a function, which creates an album of stories; requires canEditStories administrator right for supergroup and channel chats. -
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
-
storyPosterChatId
public long storyPosterChatIdIdentifier of the chat that posted the stories. -
name
Name of the album; 1-12 characters. -
storyIds
public int[] storyIdsIdentifiers of stories to add to the album; 0-getOption("story_album_size_max") identifiers. -
CONSTRUCTOR
public static final int CONSTRUCTORIdentifier uniquely determining type of the object.- See Also:
-
-
Constructor Details
-
CreateStoryAlbum
public CreateStoryAlbum()Default constructor for a function, which creates an album of stories; requires canEditStories administrator right for supergroup and channel chats.Returns
StoryAlbum -
CreateStoryAlbum
Creates a function, which creates an album of stories; requires canEditStories administrator right for supergroup and channel chats.Returns
StoryAlbum- Parameters:
storyPosterChatId- Identifier of the chat that posted the stories.name- Name of the album; 1-12 characters.storyIds- Identifiers of stories to add to the album; 0-getOption("story_album_size_max") identifiers.
-
-
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
-