class TelegramBot::InputPollOption

Included Modules

Defined in:

telegram_bot/types/poll.cr

Constructors

Instance Method Summary

Constructor Detail

def self.new(pull : JSON::PullParser) #

def self.new(text : String, *, text_parse_mode : Nil | String = nil, text_entities : Nil | Array(TelegramBot::MessageEntity) = nil, media : TelegramBot::InputMedia | Nil = nil) #

def self.new(*, __pull_for_json_serializable pull : JSON::PullParser) #

Instance Method Detail

def media : InputPollOptionMedia | Nil #

def media=(media : InputPollOptionMedia | Nil) #

def text : String #

def text=(text : String) #

def text_entities : Array(MessageEntity) | Nil #

def text_entities=(text_entities : Array(MessageEntity) | Nil) #

def text_parse_mode : String | Nil #

def text_parse_mode=(text_parse_mode : String | Nil) #