# Will download the image at the URL `<image url>`, and then send it client.send_remote_image( "<image url>", message=Message(text="This is a remote image"), thread_id=thread_id, thread_type=thread_type, ) # Only do these actions if the thread is a group if thread_type == ThreadType.GROUP: # Will remove the user with ID `<user id>` from the thread client.remove_user_from_group("<user id>", thread_id=thread_id) # Will add the user with ID `<user id>` to the thread client.add_users_to_group("<user id>", thread_id=thread_id) # Will add the users with IDs `<1st user id>`, `<2nd user id>` and `<3th user id>` to the thread client.add_users_to_group( ["<1st user id>", "<2nd user id>", "<3rd user id>"], thread_id=thread_id) # Will change the nickname of the user `<user_id>` to `<new nickname>` client.change_nickname("<new nickname>", "<user id>", thread_id=thread_id, thread_type=thread_type) # Will change the title of the thread to `<title>` client.change_thread_title("<title>", thread_id=thread_id,