crosspost method
Crosspost the message.
await message.crosspost(); // only works for guild announcements
Implementation
Future<void> crosspost() async {
if (channel.type != ChannelType.guildAnnouncement) {
return;
}
await _dataStoreServerMessage.crosspost(id: id, channelId: channelId);
}