class Hamilton::Types::InaccessibleMessage

Overview

This object describes a message that was deleted or is otherwise inaccessible to the bot.

Included Modules

Defined in:

types/inaccessible_message.cr

Constructors

Instance Method Summary

Instance methods inherited from class Reference

==(other : Hamilton::Any) ==

Instance methods inherited from class Object

===(other : Hamilton::Any) ===

Constructor Detail

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

def self.new(params) #

def self.new(*, __pull_for_json_serializable pull : JSON::PullParser) #

def self.new(**params) #

Instance Method Detail

Chat the message belonged to.


def chat=(chat : Hamilton::Types::Chat) #

Chat the message belonged to.


def date : Int32 #

Always 0. The field can be used to differentiate regular and inaccessible messages.


def date=(date : Int32) #

Always 0. The field can be used to differentiate regular and inaccessible messages.


def message_id : Int32 #

Unique message identifier inside the chat.


def message_id=(message_id : Int32) #

Unique message identifier inside the chat.


def non_nil_fields : Array(String) #

List of available non-nil fields.


def non_nil_fields=(non_nil_fields : Array(String)) #

List of available non-nil fields.