MessagePoll¶
A message with a poll
MessagePoll(
poll: Poll,
description: FormattedText,
media: PollMedia,
can_add_option: Bool
) → MessageContent
poll¶
Information about the poll
description¶
Description of the poll
media¶
Media attached to the poll; may be null if none. If present, currently, can be only of the types pollMediaAnimation, pollMediaAudio, pollMediaDocument, pollMediaLocation, pollMediaPhoto, pollMediaVenue, or pollMediaVideo
can_add_option¶
Bool
True, if an option can be added to the poll using addPollOption