class Tourmaline::MessageOriginChat
- Tourmaline::MessageOriginChat
- Reference
- Object
Overview
The message was originally sent on behalf of a chat to a group chat.
Included Modules
- JSON::Serializable
Defined in:
tourmaline/types/api.crConstructors
- .new(type : String, date : Time, sender_chat : Tourmaline::Chat, author_signature : String | Nil = nil)
- .new(pull : JSON::PullParser)
Instance Method Summary
-
#author_signature : String | Nil
Optional.
-
#author_signature=(author_signature : String | Nil)
Optional.
- #date : Time
- #date=(date : Time)
-
#sender_chat : Tourmaline::Chat
Chat that sent the message originally
-
#sender_chat=(sender_chat : Tourmaline::Chat)
Chat that sent the message originally
-
#type : String
Type of the message origin, always "chat"
-
#type=(type : String)
Type of the message origin, always "chat"
Constructor Detail
def self.new(type : String, date : Time, sender_chat : Tourmaline::Chat, author_signature : String | Nil = nil)
#
Instance Method Detail
def author_signature : String | Nil
#
Optional. For messages originally sent by an anonymous chat administrator, original message author signature
def author_signature=(author_signature : String | Nil)
#
Optional. For messages originally sent by an anonymous chat administrator, original message author signature