ChannelMention

Inherits: DiscordEntity < Reference < Object

Description

Contains information on the mention channel in a message.

Properties

type name
int guild_id
Guild guild
int type
String name

Methods

return type signature
Channel get_channel ( )
Guild get_guild ( )

Property Descriptions

  • int guild_id

    The id of the guild containing the channel.


  • Guild guild

    method
    Getter get_guild()

    Reference to the guild containing the channel.


  • int type

    The type of channel.


  • String name

    The name of the channel.

Method Descriptions

  • Channel get_channel ( )

    Gets the mentioned channel if it is available to the current user and found in the cache.


  • Guild get_guild ( )

    guild getter.