class TelegramBot::MessageEntity

Included Modules

Defined in:

telegram_bot/types/message_entity.cr

Constructors

Instance Method Summary

Constructor Detail

def self.new(type : String, offset : Int32, length : Int32, *, url : Nil | String = nil, user : Nil | TelegramBot::User = nil, language : String | Nil = nil, custom_emoji_id : Nil | String = nil, unix_time : Int32 | Nil = nil, date_time_format : Nil | String = nil) #

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

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

Instance Method Detail

def custom_emoji_id : String | Nil #

def custom_emoji_id=(custom_emoji_id : String | Nil) #

def date_time_format : String | Nil #

def date_time_format=(date_time_format : String | Nil) #

def language : String | Nil #

def language=(language : String | Nil) #

def length : Int32 #

def length=(length : Int32) #

def offset : Int32 #

def offset=(offset : Int32) #

def type : String #

def type=(type : String) #

def unix_time : Int32 | Nil #

def unix_time=(unix_time : Int32 | Nil) #

def url : String | Nil #

def url=(url : String | Nil) #

def user : User | Nil #

def user=(user : User | Nil) #