supports_message_type


Description:

[ Version ( since = "0.13.16" ) ]
public bool supports_message_type (ChannelTextMessageType message_type)

Check if message of type message_type can be sent on this channel.

Parameters:

this

a TextChannel

message_type

a ChannelTextMessageType

Returns:

true if message of type message_type can be sent on this, false otherwise