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 : Nil | TelegramBot::User = nil) #

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

Instance Method Detail

def language : User | Nil #

def language=(language : User | Nil) #

def length : Int32 #

def length=(length : Int32) #

def offset : Int32 #

def offset=(offset : Int32) #

def type : String #

def type=(type : String) #

def url : String | Nil #

def url=(url : String | Nil) #

def user : User | Nil #

def user=(user : User | Nil) #