StopPoll class

Stops a poll. A poll in a message can be stopped when the message has can_be_edited flag is set.

Returns Ok.

Inheritance
Available Extensions

Constructors

StopPoll({required int chat_id, required int message_id, ReplyMarkup? reply_markup, int? extra, int? clientId})
Stops a poll. A poll in a message can be stopped when the message has can_be_edited flag is set

Properties

chat_id int
Identifier of the chat to which the poll belongs.
read / write
clientId int?
TDLib client instance identifier, for which the response was received.
read / writeoverride
extra int?
Request identifier. Must be non-zero.
read / writeoverride
hashCode int
The hash code for this object.
read-onlyinherited
message_id int
Identifier of the message containing the poll.
read / write
reply_markup ReplyMarkup?
The new message reply markup; pass null if none; for bots only.
read / write
runtimeType Type
A representation of the runtime type of the object.
read-onlyinherited

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toJson() Map<String, dynamic>
Object to Map serializer
override
toString() String
A string representation of this object.
override

Operators

operator ==(Object other) bool
The equality operator.
inherited

Static Methods

fromMap(Map<String, dynamic>? _map) StopPoll?
Construct from Map.
override

Constants

CONSTRUCTOR → const String
@type
"stopPoll"