InputMediaPoll class

Input Media Poll.

ID: 883a4108.

Inheritance

Constructors

InputMediaPoll({required PollBase poll, List<int>? correctAnswers, InputMediaBase? attachedMedia, String? solution, List<MessageEntityBase>? solutionEntities, InputMediaBase? solutionMedia})
Input Media Poll constructor.
const
InputMediaPoll.deserialize(BinaryReader reader)
Deserialize.
factory

Properties

attachedMedia → InputMediaBase?
Attached Media.
final
correctAnswers → List<int>?
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
solutionMedia → InputMediaBase?
Solution Media.
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