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

You can leave the group you want with the help of this endpoint.

Parameters

phoneId: string

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

phoneIdLeaveGroupPostRequest: PhoneIdLeaveGroupPostRequest

Group conversation id and number is required for the actions.

optional
_options: Configuration