@pmate/chat-sdk 0.7.1 → 0.7.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -221,7 +221,7 @@ export class ChatClient {
|
|
|
221
221
|
return this.sendChat(input.groupId, {
|
|
222
222
|
kind: "group", threadKind: "group", action: "groupUpdate",
|
|
223
223
|
payload: { appId: this.options.appId, groupId: input.groupId, expectedRevision: input.expectedRevision,
|
|
224
|
-
addMembers: input.addMembers ?? [], removeMembers: input.removeMembers ?? [] },
|
|
224
|
+
addMembers: input.addMembers ?? [], removeMembers: input.removeMembers ?? [], ...(input.title !== undefined ? { title: input.title } : {}), ...(input.avatar !== undefined ? { avatar: input.avatar } : {}) },
|
|
225
225
|
});
|
|
226
226
|
}
|
|
227
227
|
async sendGroup(input) {
|