java.lang.Object
io.github.natanimn.telebof.requests.AbstractBaseRequest<StopPoll,Poll>
io.github.natanimn.telebof.requests.service.StopPoll

public class StopPoll extends AbstractBaseRequest<StopPoll,Poll>
StopPoll class. Returns the stopped Poll on success.
Since:
3 March 2025
See Also:
  • Constructor Details

    • StopPoll

      public StopPoll(Object chatId, int messageId, Api api)
      Required
      Parameters:
      chatId - chat id
      messageId - message id
      api - api
  • Method Details

    • replyMarkup

      public StopPoll replyMarkup(InlineKeyboardMarkup replyMarkup)
      Optional
      Parameters:
      replyMarkup - A JSON-serialized object for a new message inline keyboard.
      Returns:
      StopPoll
    • businessConnectionId

      public StopPoll businessConnectionId(String businessConnectionId)
      Optional
      Parameters:
      businessConnectionId - Unique identifier of the business connection on behalf of which the message to be edited was sent
      Returns:
      StopPoll