class TD::MessageLinkInfo

Included Modules

Defined in:

telegram/types/message_link_info.cr

Constructors

Instance Method Summary

Instance methods inherited from class TD::Base

extract_abstract_type(__json : JSON::Any) extract_abstract_type, extract_type(__json : JSON::Any, class_type : Class) extract_type

Macros inherited from class TD::Base

object_attributes(type) object_attributes, object_type(type) object_type

Constructor Detail

def self.new(chat_id : Int64, message : Union(TD::Message, Nil), media_timestamp : Int32, is_public : Bool = false, for_album : Bool = false, for_comment : Bool = false) #

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

[View source]
def self.new(__json : JSON::Any | Nil = nil) #

[View source]

Instance Method Detail

def chat_id : Int64 #

def chat_id=(chat_id : Int64) #

def for_album : Bool #

def for_album=(for_album : Bool) #

def for_comment : Bool #

def for_comment=(for_comment : Bool) #

def is_public : Bool #

def is_public=(is_public : Bool) #

def media_timestamp : Int32 #

def media_timestamp=(media_timestamp : Int32) #

def message : TD::Message? #

def message=(message : Nil | TD::Message) #

def object_type : String #

def object_type=(object_type : String) #