class Hamilton::Types::MessageOriginUser

Overview

The message was originally sent by a known user.

Included Modules

Defined in:

types/message_origin.cr:6
types/message_origin.cr:57

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 author_signature : String | Nil #

Signature of the original post author.


def author_signature=(author_signature : String | Nil) #

Signature of the original post author.


Channel chat to which the message was originally sent.


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

Channel chat to which the message was originally sent.


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 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.


def sender_user : Hamilton::Types::User #

User that sent the message originally.


def sender_user=(sender_user : Hamilton::Types::User) #

User that sent the message originally.


def type : String #

Type of the message origin, always "channel".


def type=(type : String) #

Type of the message origin, always "channel".