InputMediaPoll class
Input Media Poll.
ID: 0f94e5f1
.
- Inheritance
-
- Object
- TlObject
- TlConstructor
- InputMediaBase
- InputMediaPoll
Constructors
-
InputMediaPoll({required PollBase poll, List<
Uint8List> ? correctAnswers, String? solution, List<MessageEntityBase> ? solutionEntities}) -
Input Media Poll constructor.
const
- InputMediaPoll.deserialize(BinaryReader reader)
-
Deserialize.
factory
Properties
-
correctAnswers
→ List<
Uint8List> ? -
Correct Answers.
final
- flags → int
-
Flags.
no setter
- hashCode → int
-
The hash code for this object.
no setterinherited
- poll → PollBase
-
Poll.
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- solution → String?
-
Solution.
final
-
solutionEntities
→ List<
MessageEntityBase> ? -
Solution Entities.
final
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
serialize(
List< int> buffer) → void -
Serialize.
override
-
toJson(
) → Map< String, dynamic> -
Converts an object to JSON.
override
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited