Skip to content

inputMediaPoll

inputMediaPoll#883a4108 flags:# poll:Poll correct_answers:flags.0?Vector<int> attached_media:flags.3?InputMedia solution:flags.1?string solution_entities:flags.1?Vector<MessageEntity> solution_media:flags.2?InputMedia = InputMedia;

InputMedia

Name Type Flag Default Description
flags # flag word —
poll Poll — —
correct_answers flags.0?Vector flags.0 —
attached_media flags.3?InputMedia flags.3 —
solution flags.1?string flags.1 —
solution_entities flags.1?Vector flags.1 —
solution_media flags.2?InputMedia flags.2 —
Parameter Bit Meaning
correct_answers 0 Controlled by flags; present when this bit is set.
attached_media 3 Controlled by flags; present when this bit is set.
solution 1 Controlled by flags; present when this bit is set.
solution_entities 1 Controlled by flags; present when this bit is set.
solution_media 2 Controlled by flags; present when this bit is set.
from miniproto.raw.types import InputMediaPoll

Public access: miniproto.raw.types.InputMediaPoll.

InputMedia

Schema sources