Class RepostStory
java.lang.Object
io.github.natanimn.telebof.requests.AbstractBaseRequest<RepostStory,Story>
io.github.natanimn.telebof.requests.service.RepostStory
RepostStory class. Returns
Story on success.- Since:
- 1.3.0
-
Constructor Summary
ConstructorsConstructorDescriptionRepostStory(String businessConnectionId, long fromChatId, int fromStoryId, int activePeriod, Api api) Required -
Method Summary
Modifier and TypeMethodDescriptionpostToChatPage(Boolean postToChatPage) OptionalprotectContent(Boolean protectContent) OptionalMethods inherited from class io.github.natanimn.telebof.requests.AbstractBaseRequest
exec
-
Constructor Details
-
Method Details
-
postToChatPage
Optional- Parameters:
postToChatPage- Pass True to keep the story accessible after it expires- Returns:
RepostStory
-
protectContent
Optional- Parameters:
protectContent- Pass True if the content of the story must be protected from forwarding and screenshotting- Returns:
RepostStory
-