IMessagesService.

EditChatPhoto(int, IInputChatPhoto, CancellationToken) Method

Summary

Changes chat photo and sends a service message on it.

Syntax

Task<IUpdates> EditChatPhoto(int chatId, IInputChatPhoto photo, CancellationToken cancellationToken = default(CancellationToken))

Parameters

Name Type Description
chatId int Chat's identifier
photo IInputChatPhoto Photo to be set
cancellationToken CancellationToken Cancellation token

Return Value

Type Description
Task<IUpdates> Returns a IUpdates object containing a service message sent during an action.