Package it.tdlight.jni
Class TdApi.StopPoll
java.lang.Object
it.tdlight.jni.TdApi.Object
it.tdlight.jni.TdApi.Function
it.tdlight.jni.TdApi.StopPoll
- Enclosing class:
- TdApi
public static class TdApi.StopPoll extends TdApi.Function
Stops a poll. A poll in a message can
be stopped when the message has
canBeEdited flag set.
Returns Ok
-
Field Summary
Fields Modifier and Type Field Description long
chatId
Identifier of the chat to which the poll belongs.static int
CONSTRUCTOR
long
messageId
Identifier of the message containing the poll.TdApi.ReplyMarkup
replyMarkup
The new message reply markup; for bots only. -
Constructor Summary
Constructors Constructor Description StopPoll()
Stops a poll.StopPoll(long chatId, long messageId, TdApi.ReplyMarkup replyMarkup)
Stops a poll.StopPoll(DataInput input)
-
Method Summary
Modifier and Type Method Description boolean
equals(Object o)
int
getConstructor()
int
hashCode()
void
serialize(DataOutputStream output)
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; for bots only. -
CONSTRUCTOR
public static final int CONSTRUCTOR- See Also:
- Constant Field Values
-
-
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
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; for bots only.
-
StopPoll
- 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()
-