crossPost method
Implementation
Future<void> crossPost () async {
if (channel.type != ChannelType.guildNews) {
Console.warn(message: 'Message $id cannot be cross-posted as it is not in an announcement channel');
return;
}
Http http = ioc.singleton(Service.http);
await http.post(url: '/channels/${super.channel.id}/messages/${super.id}/crosspost', payload: {});
}