PinDeleteRequest constructor

PinDeleteRequest({
  1. required int messageId,
  2. required String channelUrl,
  3. required ChannelType channelType,
})

Implementation

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