class TelegramBot::MessageEntity
- TelegramBot::MessageEntity
- Reference
- Object
Included Modules
- JSON::Serializable
Defined in:
telegram_bot/types/message_entity.crConstructors
- .new(type : String, offset : Int32, length : Int32, *, url : Nil | String = nil, user : Nil | TelegramBot::User = nil, language : Nil | TelegramBot::User = nil)
- .new(pull : JSON::PullParser)
Instance Method Summary
- #language : User | Nil
- #language=(language : User | Nil)
- #length : Int32
- #length=(length : Int32)
- #offset : Int32
- #offset=(offset : Int32)
- #type : String
- #type=(type : String)
- #url : String | Nil
- #url=(url : String | Nil)
- #user : User | Nil
- #user=(user : User | Nil)
Constructor Detail
def self.new(type : String, offset : Int32, length : Int32, *, url : Nil | String = nil, user : Nil | TelegramBot::User = nil, language : Nil | TelegramBot::User = nil)
#