PrivateChannel¶
Inherits: TextChannel < Channel < MentionableEntity < DiscordEntity < Reference < Object
Inherited By: DMChannel, GroupDMChannel
Description¶
Represents a private channel on Discord.
Properties¶
type | name |
---|---|
Array | recipients_ids |
Array | recipients |
Methods¶
return type | signature |
---|---|
Array | get_recipients ( ) |
User | get_recipient_by_id ( int id ) |
bool | has_recipient ( int id ) |
Property Descriptions¶
-
Array recipients_ids
The recipient ids of the private channel.
-
Array recipients
method Getter get_recipients() The recipients of the private channel. Contains a list of User objects.