class TelegramBot::Models::MessageEntity

Overview

https://core.telegram.org/bots/api#messageentity

Defined in:

telegram_bot/models.cr

Constructors

Instance Method Summary

Constructor methods inherited from class TelegramBot::Models::Base

new(pull : JSON::PullParser) new

Constructor Detail

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

https://core.telegram.org/bots/api#messageentity


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