class
Hamilton::Types::ChatMemberBanned
- Hamilton::Types::ChatMemberBanned
- Reference
- Object
Overview
Represents a chat member that was banned in the chat and can't return to the chat or view chat messages.
Included Modules
- Hamilton::Types::Common
- JSON::Serializable
Defined in:
types/chat_member.crConstructors
- .new(pull : JSON::PullParser)
- .new(params)
- .new(*, __pull_for_json_serializable pull : JSON::PullParser)
- .new(**params)
Instance Method Summary
-
#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.
-
#status : String
The member's status in the chat, always "kicked".
-
#status=(status : String)
The member's status in the chat, always "kicked".
-
#until_date : Int32
Date when restrictions will be lifted for this user; Unix time.
-
#until_date=(until_date : Int32)
Date when restrictions will be lifted for this user; Unix time.
-
#user : Hamilton::Types::User
Information about the user.
-
#user=(user : Hamilton::Types::User)
Information about the user.
Instance methods inherited from class Reference
==(other : Hamilton::Any)
==
Instance methods inherited from class Object
===(other : Hamilton::Any)
===
Constructor Detail
Instance Method Detail
def until_date : Int32
#
Date when restrictions will be lifted for this user; Unix time. If 0, then the user is banned forever
def until_date=(until_date : Int32)
#
Date when restrictions will be lifted for this user; Unix time. If 0, then the user is banned forever