Skip to content

setChatPhoto

Function · TDLib 1.8.67 · d1085f9c

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

setChatPhoto(
  chat_id: int53,
  photo: InputChatPhoto
) → Ok

chat_id

int53

Chat identifier

photo

InputChatPhoto

New chat photo; pass null to delete the chat photo