ChannelMessageGetRequest constructor Null safety
- {required ChannelType channelType,
- required String channelUrl,
- required int messageId,
- required MessageRetrievalParams params}
Implementation
ChannelMessageGetRequest({
required ChannelType channelType,
required String channelUrl,
required int messageId,
required MessageRetrievalParams params,
}) : super() {
url = '${channelType.urlString}/$channelUrl/messages/$messageId';
queryParams = params.toJson();
}