class TelegramBot::MessageEntity

Defined in:

telegram_bot/types/message_entity.cr

Constant Summary

FIELDS = {type: String, offset: Int32, length: Int32, url: {type: String, nilable: true}, user: {type: User, nilable: true}}

Constructors

Instance Method Summary

Constructor Detail

def self.new(type : String, offset : Int32, length : Int32, url : String | Nil = nil, user : User | Nil = nil) #

[View source]
def self.new(__temp_875 : JSON::PullParser) #

[View source]

Instance Method Detail

def length : Int32 #

[View source]
def length=(_length : Int32) #

[View source]
def offset : Int32 #

[View source]
def offset=(_offset : Int32) #

[View source]
def to_json(json : JSON::Builder) #

[View source]
def type : String #

[View source]
def type=(_type : String) #

[View source]
def url : String | Nil #

[View source]
def url=(_url : String | Nil) #

[View source]
def user : User | Nil #

[View source]
def user=(_user : User | Nil) #

[View source]