Summary
Deletes a user from a chat and sends a service message on it.
- Namespace
- OpenTl
.ClientApi .Services .Interfaces - Containing Type
- IMessagesService
Syntax
Task<IUpdates> DeleteChatUser(int chatId, IInputUser user, CancellationToken cancellationToken = default(CancellationToken))
Parameters
Name | Type | Description |
---|---|---|
chatId | int | Chat's identifier |
user | IInputUser | User ID to be deleted |
cancellationToken | CancellationToken | Cancellation token |
Return Value
Type | Description |
---|---|
Task |
Returns a IUpdates object containing a service message sent during the action. |