- Enclosing class:
- TdApi
Stops a poll. A poll in a message can
be stopped when the message has
canBeEdited flag set.
Returns
Ok
-
Field Summary
Modifier and TypeFieldDescriptionlong
Identifier of the chat to which the poll belongs.static final int
long
Identifier of the message containing the poll.The new message reply markup; pass null if none; for bots only. -
Constructor Summary
ConstructorDescriptionStopPoll()
Stops a poll.StopPoll
(long chatId, long messageId, TdApi.ReplyMarkup replyMarkup) Stops a poll.Stops a poll. -
Method Summary
Methods inherited from class it.tdlight.jni.TdApi.Function
toString
Methods inherited from class it.tdlight.jni.TdApi.Object
serialize
-
Field Details
-
chatId
public long chatIdIdentifier of the chat to which the poll belongs. -
messageId
public long messageIdIdentifier of the message containing the poll. -
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. ReturnsOk
-
StopPoll
Stops a poll. A poll in a message can be stopped when the message has canBeEdited flag set. ReturnsOk
- 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
Stops a poll. A poll in a message can be stopped when the message has canBeEdited flag set. ReturnsOk
- Throws:
IOException
-
-
Method Details
-
getConstructor
public int getConstructor()- Specified by:
getConstructor
in classTdApi.Object
-
serialize
- Specified by:
serialize
in classTdApi.Object
- Throws:
IOException
-
equals
-
hashCode
public int hashCode()
-