class
Hamilton::Types::MessageOriginUser
- Hamilton::Types::MessageOriginUser
- Reference
- Object
Overview
The message was originally sent by a known user.
Included Modules
- Hamilton::Types::Common
- JSON::Serializable
Defined in:
types/message_origin.cr:6types/message_origin.cr:57
Constructors
- .new(pull : JSON::PullParser)
- .new(params)
- .new(*, __pull_for_json_serializable pull : JSON::PullParser)
- .new(**params)
Instance Method Summary
-
#author_signature : String | Nil
Signature of the original post author.
-
#author_signature=(author_signature : String | Nil)
Signature of the original post author.
-
#chat : Hamilton::Types::Chat
Channel chat to which the message was originally sent.
-
#chat=(chat : Hamilton::Types::Chat)
Channel chat to which the message was originally sent.
-
#date : Int32
Date the message was sent originally in Unix time.
-
#date=(date : Int32)
Date the message was sent originally in Unix time.
-
#message_id : Int32
Unique message identifier inside the chat.
-
#message_id=(message_id : Int32)
Unique message identifier inside the chat.
-
#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_user : Hamilton::Types::User
User that sent the message originally.
-
#sender_user=(sender_user : Hamilton::Types::User)
User that sent the message originally.
-
#type : String
Type of the message origin, always "channel".
-
#type=(type : String)
Type of the message origin, always "channel".