PinCreateRequest constructor
PinCreateRequest({
- required int messageId,
- required String channelUrl,
- required ChannelType channelType,
Implementation
PinCreateRequest({
required int messageId,
required String channelUrl,
required ChannelType channelType,
}) {
url = '${channelType.urlString}/$channelUrl/messages/$messageId/pin';
}