inputMediaPoll

A poll

Constructor schema is available as of layer 109. Switch ยป

Parameters

Name Type Description
flags # Flags, see TL conditional fields
poll Poll The poll to send
correct_answers flags.0?Vector<bytes> Correct answer IDs (for quiz polls)
solution flags.1?string Explanation of quiz solution
solution_entities flags.1?Vector<MessageEntity> Message entities for styled text

Type

InputMedia

Related pages

Styled text with message entities

How to create styled text with message entities