class Hamilton::Types::MessageOriginHiddenUser

Overview

The message was originally sent by an unknown user.

Included Modules

Defined in:

types/message_origin.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

def date : Int32 #

Date the message was sent originally in Unix time.


def date=(date : Int32) #

Date the message was sent originally in Unix time.


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.


def sender_user_name : String #

Name of the user that sent the message originally.


def sender_user_name=(sender_user_name : String) #

Name of the user that sent the message originally.


def type : String #

Type of the message origin, always "hidden_user".


def type=(type : String) #

Type of the message origin, always "hidden_user".