ChannelReactionAddRequest constructor
ChannelReactionAddRequest({
- required ChannelType channelType,
- required String channelUrl,
- required int messageId,
- required String key,
- String? userId,
Implementation
ChannelReactionAddRequest({
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, 'user_id': userId};
}