GroupChannelHideRequest constructor
GroupChannelHideRequest(})
Implementation
GroupChannelHideRequest(String channelUrl,
{bool hidePreviousMessages = false,
bool allowAutoUnhide = true,
String? userId})
: super(userId: userId) {
url = 'group_channels/$channelUrl/hide';
body = {
'hide_previous_messages': hidePreviousMessages,
'allow_auto_unhide': allowAutoUnhide,
};
}