Class TdApi.CreateStoryAlbum

Enclosing class:
TdApi

public static class TdApi.CreateStoryAlbum extends TdApi.Function<TdApi.StoryAlbum>
Creates an album of stories; requires canEditStories administrator right for supergroup and channel chats.

Returns StoryAlbum

  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    static final int
    Identifier 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.
    long
    Identifier of the chat that posted the stories.
  • Constructor Summary

    Constructors
    Constructor
    Description
    Default 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 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

    • storyPosterChatId

      public long storyPosterChatId
      Identifier of the chat that posted the stories.
    • name

      public String name
      Name of the album; 1-12 characters.
    • storyIds

      public int[] storyIds
      Identifiers of stories to add to the album; 0-getOption("story_album_size_max") identifiers.
    • CONSTRUCTOR

      public static final int CONSTRUCTOR
      Identifier 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

      public 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.

      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.Object
      Returns an identifier uniquely determining type of the object.
      Specified by:
      getConstructor in class TdApi.Object
      Returns:
      this.CONSTRUCTOR