api.leaveChat()
Removes the current user from chat members. Private and secret chats can't be left using this method
Parameters
LeaveChatParams
:chevron_leftchevron_right
Parameters
Interface
Name | Type | Description |
---|---|---|
chatId | number | Chat identifier |