Summary
Chanages chat name and sends a service message on it.
- Namespace
- OpenTl
.ClientApi .Services .Interfaces - Containing Type
- IMessagesService
Syntax
Task<IUpdates> EditChatTitle(int chatId, string title, CancellationToken cancellationToken = default(CancellationToken))
Parameters
Name | Type | Description |
---|---|---|
chatId | int | Chat's identifier |
title | string | New chat name, different from the old one |
cancellationToken | CancellationToken | Cancellation token |
Return Value
Type | Description |
---|---|
Task |
Returns a IUpdates object containing a service message sent during an action. |