Interface SetChatPhoto

Changes the photo of a chat. Supported only for basic groups, supergroups and channels. Requires can_change_info member right. Request type for Tdjson#setChatPhoto.

interface SetChatPhoto {
    @type: "setChatPhoto";
    chat_id: number;
    photo: InputChatPhoto;
}

Properties

Properties

@type: "setChatPhoto"
chat_id: number

Chat identifier.

New chat photo; pass null to delete the chat photo.