api.setChatPhoto()
Changes the photo of a chat. Supported only for basic groups, supergroups and channels. Requires can_change_info administrator right
Parameters
SetChatPhotoParams
:chevron_leftchevron_right
Parameters
Interface
Name | Type | Description |
---|---|---|
chatId | number | Chat identifier |
photo | New chat photo; pass null to delete the chat photo |