class

TelegramBot::InputPollOption

Inherits JSON::Serializable < Reference < Object

Constructors

new(text : String, *, text_parse_mode : Nil | String = nil, text_entities : Nil | Array(TelegramBot::MessageEntity) = nil, media : TelegramBot::InputMedia | Nil = nil)
Source
new(*, __pull_for_json_serializable pull : JSON::PullParser)
Source

Instance methods

media
Source
media=(media : InputPollOptionMedia | Nil)
Source
text
Source
text=(text : String)
Source
text_entities
Source
text_entities=(text_entities : Array(MessageEntity) | Nil)
Source
text_parse_mode
Source
text_parse_mode=(text_parse_mode : String | Nil)
Source