setDisplayName(chat, displayName, options)renames a group chat.addParticipants(chat, addresses, options)invites addresses into a group chat.removeParticipants(chat, addresses, options)removes addresses from a group chat.leave(chat, options)makes the local account leave a group chat.setIcon(chat, data, options)replaces the group photo.getIcon(chat)downloads the group photo bytes and MIME type.removeIcon(chat, options)clears the group photo.
Methods
addParticipants()
Parameters
Returns
Chat
getIcon()
Parameters
Returns
GroupIcon
leave()
Parameters
Returns
Promise<void>
removeIcon()
Parameters
Returns
Promise<void>
removeParticipants()
Parameters
Returns
Chat
setDisplayName()
Parameters
Returns
Chat
setIcon()
Parameters
Returns
Promise<void>