Skip to content

Commit 1217bb0

Browse files
committed
Rename member mgmt functions
1 parent c488170 commit 1217bb0

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

sdks/node-sdk/src/Group.ts

+4-4
Original file line numberDiff line numberDiff line change
@@ -81,19 +81,19 @@ export class Group extends Conversation {
8181
return this.#conversation.isSuperAdmin(inboxId);
8282
}
8383

84-
async addMembers(identifiers: Identifier[]) {
84+
async addMembersByIdentifiers(identifiers: Identifier[]) {
8585
return this.#conversation.addMembers(identifiers);
8686
}
8787

88-
async addMembersByInboxId(inboxIds: string[]) {
88+
async addMembers(inboxIds: string[]) {
8989
return this.#conversation.addMembersByInboxId(inboxIds);
9090
}
9191

92-
async removeMembers(identifiers: Identifier[]) {
92+
async removeMembersByIdentifiers(identifiers: Identifier[]) {
9393
return this.#conversation.removeMembers(identifiers);
9494
}
9595

96-
async removeMembersByInboxId(inboxIds: string[]) {
96+
async removeMembers(inboxIds: string[]) {
9797
return this.#conversation.removeMembersByInboxId(inboxIds);
9898
}
9999

0 commit comments

Comments
 (0)