Chat
Change group settings
Update group settings e.g. member permissions, group image, title or description. This operation requires the connected phone to be an admin in the group.
Authorizations
Authorization
string
headerrequiredBearer authentication header of the form Bearer <token>
, where <token> is your apiKey
generated in Periskope API settings.
Headers
x-phone
string
requiredOrganisation phone number(with country code) and without any spaces or special characters.
e.g. 9190043XXXXX
Path Parameters
chat_id
string
requiredChat ID for which the action is to be performed
e.g.
For groups - 12054386805XXX@g.us
For individual chats - 9198765XXXXX@c.us
Body
application/json
image
string
Updated group image. Must be a public url
messagesAdminsOnly
boolean
If true, only admins can send messages
infoAdminsOnly
boolean
If true, only admins can change group settings
name
string
Updated name of the group
description
string
Updated descrption of the group
Was this page helpful?