InputMediaPoll#
- class pyrogram.raw.types.InputMediaPoll#
A poll
Constructor of
InputMedia.- Details:
Layer:
227ID:
883A4108
- Parameters:
poll (
Poll) – The poll to sendcorrect_answers (List of
int32-bit, optional) – 0-based indices of the correct answers in the answers vector (for quiz polls)attached_media (
InputMedia, optional) – Optional media attachment to display alongside the pollsolution (
str, optional) – Text that is shown when a user chooses an incorrect answer or taps on the lamp icon in a quiz-style poll, 0-200 characters with at most 2 line feeds.solution_entities (List of
MessageEntity, optional) – Styled text message entities for the solution explanation.solution_media (
InputMedia, optional) – Optional media attachment shown alongside the quiz solution explanation