class Tourmaline::MessageOriginChannel
- Tourmaline::MessageOriginChannel
- Reference
- Object
Overview
The message was originally sent to a channel chat.
Included Modules
- JSON::Serializable
Defined in:
tourmaline/types/api.crConstructors
- .new(type : String, date : Time, chat : Tourmaline::Chat, message_id : Int32 | Int64, author_signature : String | Nil = nil)
- .new(pull : JSON::PullParser)
Instance Method Summary
-
#author_signature : String | Nil
Optional.
-
#author_signature=(author_signature : String | Nil)
Optional.
-
#chat : Tourmaline::Chat
Channel chat to which the message was originally sent
-
#chat=(chat : Tourmaline::Chat)
Channel chat to which the message was originally sent
- #date : Time
- #date=(date : Time)
-
#message_id : Int32 | Int64
Unique message identifier inside the chat
-
#message_id=(message_id : Int32 | Int64)
Unique message identifier inside the chat
-
#type : String
Type of the message origin, always "channel"
-
#type=(type : String)
Type of the message origin, always "channel"
Constructor Detail
def self.new(type : String, date : Time, chat : Tourmaline::Chat, message_id : Int32 | Int64, author_signature : String | Nil = nil)
#
Instance Method Detail
def author_signature=(author_signature : String | Nil)
#
Optional. Signature of the original post author