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) #

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

[View source]

Instance Method Detail

def language : User | Nil #

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

[View source]
def length : Int32 #

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

[View source]
def offset : Int32 #

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

[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]