Module tdlight.api

Class TdApi.StopPoll

Enclosing class:
TdApi

public static final class TdApi.StopPoll extends TdApi.Function<TdApi.Ok>
Stops a poll. A poll in a message can be stopped when the message has canBeEdited flag set. Returns Ok
  • Field Details

    • chatId

      public long chatId
      Identifier of the chat to which the poll belongs.
    • messageId

      public long messageId
      Identifier of the message containing the poll.
    • replyMarkup

      public TdApi.ReplyMarkup replyMarkup
      The new message reply markup; pass null if none; for bots only.
    • CONSTRUCTOR

      public static final int CONSTRUCTOR
      See Also:
  • Constructor Details

    • StopPoll

      public StopPoll()
      Stops a poll. A poll in a message can be stopped when the message has canBeEdited flag set. Returns Ok
    • StopPoll

      public StopPoll(long chatId, long messageId, TdApi.ReplyMarkup replyMarkup)
      Stops a poll. A poll in a message can be stopped when the message has canBeEdited flag set. Returns Ok
      Parameters:
      chatId - long Identifier of the chat to which the poll belongs.
      messageId - long Identifier of the message containing the poll.
      replyMarkup - ReplyMarkup The new message reply markup; pass null if none; for bots only.
    • StopPoll

      public StopPoll(DataInput input) throws IOException
      Stops a poll. A poll in a message can be stopped when the message has canBeEdited flag set. Returns Ok
      Throws:
      IOException
  • Method Details