GroupChannelMarkAsDeliveredRequest constructor

GroupChannelMarkAsDeliveredRequest({
  1. required String channelUrl,
  2. required String userId,
  3. required int timestamp,
})

Implementation

GroupChannelMarkAsDeliveredRequest({
  required String channelUrl,
  required String userId,
  required int timestamp,
}) : super(userId: userId) {
  url = 'group_channels/$channelUrl/messages/mark_as_delivered';
  body = {'user_id': userId, 'ts': timestamp};
}