Skip to main content
Latest
method GroupChatOperationsApi.prototype.phoneIdSetProfileImagePost
import { GroupChatOperationsApi } from "https://deno.land/x/periskope_maytapi_deno@v1.4.0/index.ts";

Change profile picture of a group conversation or yourself. To change profile picture of yourself you need to leave the conversation_id blank. You need to use square images for better view. We suggest 512x512 images.

Parameters

phoneId: string

ID of the phone registered to the product, assigned by the database automatically. Can be obtained by calling GET listPhones.

phoneIdSetProfileImagePostRequest: PhoneIdSetProfileImagePostRequest

Group conversation id and number is required for the actions.

optional
_options: Configuration