ChannelFileMessageUpdateRequest constructor
ChannelFileMessageUpdateRequest({
- required String channelUrl,
- required int messageId,
- required FileMessageParams params,
Implementation
ChannelFileMessageUpdateRequest({
required String channelUrl,
required int messageId,
required FileMessageParams params,
}) : super() {
payload.addAll({
'channel_url': channelUrl,
'msg_id': messageId,
'data': params.data,
'custom_type': params.customType,
'mention_type': params.mentionType,
'mentioned_user_ids': params.mentionedUserIds
});
payload.removeWhere((key, value) => value == null);
}