struct

Telegram::InputPollOption

Inherits JSON::Serializable < Struct < Value < Object

Telegram API type: InputPollOption This object contains information about one answer option in a poll to be sent.

Constructors

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

Instance methods

clone
Source
copy_with(text _text = @text, text_parse_mode _text_parse_mode = @text_parse_mode, text_entities _text_entities = @text_entities)
Source
text
text_entities
text_parse_mode