feat(llc): add hide_history flag in channel.addMembers.

Signed-off-by: xsahil03x <[email protected]>
This commit is contained in:
Sahil Kumar
2022-08-08 15:50:09 +05:30
committed by xsahil03x
parent bd1876c159
commit 19244738ba
5 changed files with 21 additions and 1 deletions
@@ -210,12 +210,14 @@ class ChannelApi {
String channelType,
List<String> memberIds, {
Message? message,
bool hideHistory = false,
}) async {
final response = await _client.post(
_getChannelUrl(channelId, channelType),
data: {
'add_members': memberIds,
'message': message,
'hide_history': hideHistory,
},
);
return AddMembersResponse.fromJson(response.data);