class
Hamilton::Types::MessageOriginChannel
- Hamilton::Types::MessageOriginChannel
- Reference
- Object
Overview
The message was originally sent on behalf of a chat to a group chat.
Included Modules
- Hamilton::Types::Common
- JSON::Serializable
Defined in:
types/message_origin.crConstructors
- .new(pull : JSON::PullParser)
- .new(params)
- .new(*, __pull_for_json_serializable pull : JSON::PullParser)
- .new(**params)
Instance Method Summary
-
#author_signature : String | Nil
For messages originally sent by an anonymous chat administrator, original message author signature.
-
#author_signature=(author_signature : String | Nil)
For messages originally sent by an anonymous chat administrator, original message author signature.
-
#date : Int32
Date the message was sent originally in Unix time.
-
#date=(date : Int32)
Date the message was sent originally in Unix time.
-
#non_nil_fields : Array(String)
List of available non-nil fields.
-
#non_nil_fields=(non_nil_fields : Array(String))
List of available non-nil fields.
-
#sender_chat : Hamilton::Types::Chat
Chat that sent the message originally.
-
#sender_chat=(sender_chat : Hamilton::Types::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".
Instance methods inherited from class Reference
==(other : Hamilton::Any)
==
Instance methods inherited from class Object
===(other : Hamilton::Any)
===
Constructor Detail
Instance Method Detail
For messages originally sent by an anonymous chat administrator, original message author signature.
For messages originally sent by an anonymous chat administrator, original message author signature.