setGroupDescription
Sets group description.
Parameters
Name | Type | Description |
---|---|---|
groupId | Identifier | The id of the group to set the description for. |
newDescription | NewDescription | The content of the new description. |
Example
const { data: newDescription } = await ClassicGroupsApi.setGroupDescription({
groupId: 5850082,
newDescription: "Hello World!",
});
Endpoint
PATCH /v1/groups/{groupId}/description