unpin method
Implementation
Future<void> unpin () async {
if (!isPinned) {
Console.warn(message: 'Message $id isn\'t pinned');
return;
}
Http http = ioc.singleton(Service.http);
await http.destroy(url: '/channels/${channel.id}/pins/$id');
}