Class TdApi.DeleteStoryAlbum

Enclosing class:
TdApi

public static class TdApi.DeleteStoryAlbum extends TdApi.Function<TdApi.Ok>
Deletes a story album. If the album is owned by a supergroup or a channel chat, then requires canEditStories administrator right in the chat.

Returns Ok

  • Field Details

    • chatId

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

      public int storyAlbumId
      Identifier of the story album.
    • CONSTRUCTOR

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

    • DeleteStoryAlbum

      public DeleteStoryAlbum()
      Default constructor for a function, which deletes a story album. If the album is owned by a supergroup or a channel chat, then requires canEditStories administrator right in the chat.

      Returns Ok

    • DeleteStoryAlbum

      public DeleteStoryAlbum(long chatId, int storyAlbumId)
      Creates a function, which deletes a story album. If the album is 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.
      storyAlbumId - Identifier of the story album.
  • 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.Function<TdApi.Ok>
      Returns:
      this.CONSTRUCTOR