class TelegramBot::MessageEntity
- TelegramBot::MessageEntity
- Reference
- Object
Defined in:
telegram_bot/types/message_entity.crConstant Summary
-
FIELDS =
{type: String, offset: Int32, length: Int32, url: {type: String, nilable: true}, user: {type: User, nilable: true}}
Constructors
- .new(type : String, offset : Int32, length : Int32, url : String | Nil = nil, user : User | Nil = nil)
- .new(__temp_875 : JSON::PullParser)
Instance Method Summary
- #length : Int32
- #length=(_length : Int32)
- #offset : Int32
- #offset=(_offset : Int32)
- #to_json(json : JSON::Builder)
- #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 : String | Nil = nil, user : User | Nil = nil)
#