class Tourmaline::MessageOriginChat

Overview

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

Included Modules

Defined in:

tourmaline/types/api.cr

Constructors

Instance Method Summary

Constructor Detail

def self.new(type : String, date : Time, sender_chat : Tourmaline::Chat, author_signature : String | Nil = nil) #

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

[View source]

Instance Method Detail

def author_signature : String | Nil #

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


[View source]
def author_signature=(author_signature : String | Nil) #

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


[View source]
def date : Time #

[View source]
def date=(date : Time) #

[View source]
def sender_chat : Tourmaline::Chat #

Chat that sent the message originally


[View source]
def sender_chat=(sender_chat : Tourmaline::Chat) #

Chat that sent the message originally


[View source]
def type : String #

Type of the message origin, always "chat"


[View source]
def type=(type : String) #

Type of the message origin, always "chat"


[View source]