Function deltachat::chat::set_chat_profile_image
source ยท pub async fn set_chat_profile_image(
context: &Context,
chat_id: ChatId,
new_image: &str,
) -> Result<()>
Expand description
Sets a new profile image for the chat.
The profile image can only be set when you are a member of the
chat. To remove the profile image pass an empty string for the
new_image
parameter.