class Hamilton::Types::MessageOriginChannel

Overview

The message was originally sent on behalf of a chat to a group chat.

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

For messages originally sent by an anonymous chat administrator, original message author signature.


def author_signature=(author_signature : String | Nil) #

For messages originally sent by an anonymous chat administrator, original message author signature.


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_chat : Hamilton::Types::Chat #

Chat that sent the message originally.


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

Chat that sent the message originally.


def type : String #

Type of the message origin, always "chat".


def type=(type : String) #

Type of the message origin, always "chat".