Skip to content

Commit

Permalink
feat: add UpdateGroupInfo api
Browse files Browse the repository at this point in the history
  • Loading branch information
hv0905 committed Jun 6, 2019
1 parent 2d19cfc commit ce4971a
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions src/app/Services/GroupsApiService.ts
Expand Up @@ -45,4 +45,12 @@ export class GroupsApiService {
targetUserId: targetUserId
});
}

public UpdateGroupInfo(groupName: string, avatarKey: number = null, newJoinPassword: string = null) {
return this.apiService.Post(GroupsApiService.serverPath + '/UpdateGroupInfo', {
GroupName: groupName,
AvatarKey: avatarKey,
NewJoinPassword: newJoinPassword
});
}
}

0 comments on commit ce4971a

Please sign in to comment.