Class PostStory
java.lang.Object
io.github.natanimn.telebof.requests.AbstractBaseRequest<PostStory, Story>
io.github.natanimn.telebof.requests.service.PostStory
PostStory class. Returns
Story
on success.- Since:
- 19 August 2025
- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionPostStory
(String business_connection_id, InputStoryContent content, Integer active_period, Api api) Required -
Method Summary
Modifier and TypeMethodDescriptionOptionalOptionalcaptionEntities
(MessageEntity[] caption_entities) OptionalOptionalpostToChatPage
(boolean post_to_chat_page) OptionalprotectContent
(boolean protect_content) OptionalMethods inherited from class io.github.natanimn.telebof.requests.AbstractBaseRequest
exec
-
Constructor Details
-
PostStory
public PostStory(String business_connection_id, InputStoryContent content, Integer active_period, Api api) Required- Parameters:
business_connection_id
- Unique identifier of the business connectioncontent
- Content of the storyactive_period
- Period after which the story is moved to the archive, in secondsapi
- api
-
-
Method Details
-
caption
-
parseMode
-
captionEntities
Optional- Parameters:
caption_entities
- A JSON-serialized list of special entities that appear in the caption, which can be specified instead ofinvalid reference
#parseMmode
- Returns:
PostStory
-
areas
-
postToChatPage
-
protectContent
-