mentionChannels property

List<DiscordChannelMention>? mentionChannels
final

channels specifically mentioned in this message

  • Not all channel mentions in a message will appear in mention_channels. Only textual channels that are visible to everyone in a lurkable guild will ever be included. Only crossposted messages (via Channel Following) currently include mention_channels at all. If no mentions in the message meet these requirements, this field will not be sent.

is not always returned, hence the nullable property

Implementation

final List<DiscordChannelMention>? mentionChannels;