Class TdApi.EditBusinessStory

Enclosing class:
TdApi

public static class TdApi.EditBusinessStory extends TdApi.Function<TdApi.Story>
Changes a story posted by the bot on behalf of a business account; for bots only.

Returns Story

  • Field Details

    • storyPosterChatId

      public long storyPosterChatId
      Identifier of the chat that posted the story.
    • storyId

      public int storyId
      Identifier of the story to edit.
    • content

      public TdApi.InputStoryContent content
      New content of the story.
    • areas

      public TdApi.InputStoryAreas areas
      New clickable rectangle areas to be shown on the story media.
    • caption

      public TdApi.FormattedText caption
      New story caption.
    • privacySettings

      public TdApi.StoryPrivacySettings privacySettings
      The new privacy settings for the story.
    • CONSTRUCTOR

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

    • EditBusinessStory

      public EditBusinessStory()
      Default constructor for a function, which changes a story posted by the bot on behalf of a business account; for bots only.

      Returns Story

    • EditBusinessStory

      public EditBusinessStory(long storyPosterChatId, int storyId, TdApi.InputStoryContent content, TdApi.InputStoryAreas areas, TdApi.FormattedText caption, TdApi.StoryPrivacySettings privacySettings)
      Creates a function, which changes a story posted by the bot on behalf of a business account; for bots only.

      Returns Story

      Parameters:
      storyPosterChatId - Identifier of the chat that posted the story.
      storyId - Identifier of the story to edit.
      content - New content of the story.
      areas - New clickable rectangle areas to be shown on the story media.
      caption - New story caption.
      privacySettings - The new privacy settings for the story.
  • 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