Class TdApi.SetStoryAlbumName

Enclosing class:
TdApi

public static class TdApi.SetStoryAlbumName extends TdApi.Function<TdApi.StoryAlbum>
Changes name of an album of stories. 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 Details

    • chatId

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

      public int storyAlbumId
      Identifier of the story album.
    • name

      public String name
      New name of the album; 1-12 characters.
    • CONSTRUCTOR

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

    • SetStoryAlbumName

      public SetStoryAlbumName()
      Default constructor for a function, which changes name of an album of stories. 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

    • SetStoryAlbumName

      public SetStoryAlbumName(long chatId, int storyAlbumId, String name)
      Creates a function, which changes name of an album of stories. 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.
      name - New name of the album; 1-12 characters.
  • Method Details