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
- Version:
- 1.3.0
- Author:
- Natanim
-
Field Summary
Fields inherited from class io.github.natanimn.telebof.requests.AbstractBaseRequest
api, methodName, parameters -
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
add, exec, getContentType, getMethodName, getParameters, getResponseType, hasMultipart, setHasMultipart
-
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
-