class
Hamilton::Types::ChatOwnerLeft
- Hamilton::Types::ChatOwnerLeft
- Reference
- Object
Overview
Describes a service message about the chat owner leaving the chat.
Included Modules
- Hamilton::Types::Common
- JSON::Serializable
Defined in:
types/chat_owner_left.crConstructors
- .new(pull : JSON::PullParser)
- .new(params)
- .new(*, __pull_for_json_serializable pull : JSON::PullParser)
- .new(**params)
Instance Method Summary
-
#new_owner : Hamilton::Types::User | Nil
The user which will be the new owner of the chat if the previous owner does not return to the chat.
-
#new_owner=(new_owner : Hamilton::Types::User | Nil)
The user which will be the new owner of the chat if the previous owner does not return to 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.
Instance methods inherited from class Reference
==(other : Hamilton::Any)
==
Instance methods inherited from class Object
===(other : Hamilton::Any)
===
Constructor Detail
Instance Method Detail
def new_owner : Hamilton::Types::User | Nil
#
The user which will be the new owner of the chat if the previous owner does not return to the chat.
def new_owner=(new_owner : Hamilton::Types::User | Nil)
#
The user which will be the new owner of the chat if the previous owner does not return to the chat.