ChannelReactionDeleteRequest constructor
ChannelReactionDeleteRequest({
- required ChannelType channelType,
- required String channelUrl,
- required int messageId,
- required String key,
- String? userId,
Implementation
ChannelReactionDeleteRequest({
required ChannelType channelType,
required String channelUrl,
required int messageId,
required String key,
String? userId,
}) : super(userId: userId) {
url = '${channelType.urlString}/$channelUrl/messages/$messageId/reactions';
body = {'reaction': key};
}