UpdatePollAnswer class
A user changed the answer to a poll; for bots only.
- Inheritance
- Available Extensions
Constructors
-
UpdatePollAnswer({required int64 poll_id, required MessageSender voter_id, required List<
int> option_ids, int? extra, int? clientId}) - A user changed the answer to a poll; for bots only
Properties
- 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
-
option_ids
↔ List<
int> -
0-based identifiers of answer options, chosen by the user.
read / write
- poll_id ↔ int64
-
Unique poll identifier.
; string representation of int, use
int.parse
read / write - runtimeType → Type
-
A representation of the runtime type of the object.
read-onlyinherited
- voter_id ↔ MessageSender
-
Identifier of the message sender that changed the answer to the poll.
read / write
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) → UpdatePollAnswer? -
Construct from Map.
override
Constants
- CONSTRUCTOR → const String
-
@type
"updatePollAnswer"