TgKit library and website are still in early development!

ChatMemberRestricted Class

extends Base

Represents a chat member that is under certain restrictions in the chat. Supergroups only.

Properties

client Client

See the code

isMember boolean

*true*, if the user is a member of the chat at the moment of the request

See the code

permissions ChatMemberRestrictedPermissions

Chat member permissions

See the code

restrictedUntil

Date when restrictions will be lifted for this user. If *null*, then the user is restricted forever

See the code

status ChatMemberStatus

The member's status in the chat

See the code

user User

Information about the user

See the code