Package com.mewna.catnip.entity.channel
Interface GroupDMChannel
- All Superinterfaces:
Channel
,DMChannel
,Entity
,HasApplication
,HasIcon
,HasOwner
,MessageChannel
,RequiresCatnip
,Snowflake
,Timestamped
- All Known Implementing Classes:
GroupDMChannelImpl
A DM with a group of users.
- Since:
- 9/12/18
- Author:
- natanbc
-
Nested Class Summary
Nested classes/interfaces inherited from interface com.mewna.catnip.entity.channel.Channel
Channel.ChannelType
Nested classes/interfaces inherited from interface com.mewna.catnip.entity.partials.Timestamped
Timestamped.TimestampStyle
-
Method Summary
Methods inherited from interface com.mewna.catnip.entity.channel.Channel
asCategory, asDMChannel, asGroupDMChannel, asGuildChannel, asMessageChannel, asTextChannel, asUserDMChannel, asVoiceChannel, delete, delete, isGuildMessageChannel, isNews, isStore, type
Methods inherited from interface com.mewna.catnip.entity.channel.DMChannel
isCategory, isDM, isGuild, isText, isVoice
Methods inherited from interface com.mewna.catnip.entity.partials.HasApplication
applicationId, applicationIdAsLong
Methods inherited from interface com.mewna.catnip.entity.channel.MessageChannel
addReaction, addReaction, bulkRemoveReaction, deleteMessage, deleteMessage, deleteOwnReaction, deleteOwnReaction, deleteUserReaction, deleteUserReaction, editMessage, editMessage, editMessage, fetchMessage, fetchMessages, sendMessage, sendMessage, sendMessage, sendMessage, triggerTypingIndicator
Methods inherited from interface com.mewna.catnip.entity.RequiresCatnip
catnip
Methods inherited from interface com.mewna.catnip.entity.partials.Snowflake
creationTime, creationTimestamp, id, idAsLong
Methods inherited from interface com.mewna.catnip.entity.partials.Timestamped
asDiscordTimestamp, parseTimestamp
-
Method Details
-
recipients
- Returns:
- The list of users in the group DM.
-
ownerId
-
ownerIdAsLong
@CheckReturnValue long ownerIdAsLong()- Specified by:
ownerIdAsLong
in interfaceHasOwner
- Returns:
- The ID of the user who owns the group DM.
-
isUserDM
@CheckReturnValue default boolean isUserDM() -
isGroupDM
@CheckReturnValue default boolean isGroupDM() -
iconUrl
- Specified by:
iconUrl
in interfaceHasIcon
- Returns:
- The icon's CDN URL, with the specified options applied. Will be
null if
HasIcon.icon()
is null, except in the case of aUser
.
-