class

TelegramBot::MessageEntity

Inherits JSON::Serializable < Reference < Object

Constructors

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)
Source
new(*, __pull_for_json_serializable pull : JSON::PullParser)
Source

Instance methods

custom_emoji_id
Source
custom_emoji_id=(custom_emoji_id : String | Nil)
Source
date_time_format
Source
date_time_format=(date_time_format : String | Nil)
Source
language
Source
language=(language : String | Nil)
Source
length
Source
length=(length : Int32)
Source
offset
Source
offset=(offset : Int32)
Source
type
Source
type=(type : String)
Source
unix_time
Source
unix_time=(unix_time : Int32 | Nil)
Source
url=(url : String | Nil)
Source
user
Source
user=(user : User | Nil)
Source