Classic APIs
ClassicGroupsApi
setGroupDescription

setGroupDescription

Sets group description.

Parameters

NameTypeDescription
groupIdIdentifierThe id of the group to set the description for.
newDescriptionNewDescriptionThe content of the new description.

Example

const { data: newDescription } = await ClassicGroupsApi.setGroupDescription({
  groupId: 5850082,
  newDescription: "Hello World!",
}); 

Endpoint

PATCH /v1/groups/{groupId}/description