Class StopPoll
java.lang.Object
io.github.natanimn.telebof.requests.AbstractBaseRequest<StopPoll,Poll>
io.github.natanimn.telebof.requests.service.StopPoll
StopPoll class. Returns the stopped
Poll on success.- Since:
- 3 March 2025
- Version:
- 1.3.0
- Author:
- Natanim
- See Also:
-
Field Summary
Fields inherited from class io.github.natanimn.telebof.requests.AbstractBaseRequest
api, methodName, parameters -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbusinessConnectionId(String businessConnectionId) OptionalreplyMarkup(InlineKeyboardMarkup replyMarkup) OptionalMethods inherited from class io.github.natanimn.telebof.requests.AbstractBaseRequest
add, exec, getContentType, getMethodName, getParameters, getResponseType, hasMultipart, setHasMultipart
-
Constructor Details
-
StopPoll
Required- Parameters:
chatId- chat idmessageId- message idapi- api
-
-
Method Details
-
replyMarkup
Optional- Parameters:
replyMarkup- A JSON-serialized object for a new message inline keyboard.- Returns:
StopPoll
-
businessConnectionId
Optional- Parameters:
businessConnectionId- Unique identifier of the business connection on behalf of which the message to be edited was sent- Returns:
StopPoll
-