Package com.mewna.catnip.entity.channel
Interface UserDMChannel
- All Superinterfaces:
Channel
,DMChannel
,Entity
,HasOwner
,MessageChannel
,RequiresCatnip
,Snowflake
,Timestamped
- All Known Implementing Classes:
UserDMChannelImpl
A DM with a single user.
- 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.HasOwner
owner, ownerId, ownerIdAsLong
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
-
recipient
-
userId
-
userIdAsLong
@CheckReturnValue long userIdAsLong() -
isUserDM
@CheckReturnValue default boolean isUserDM() -
isGroupDM
@CheckReturnValue default boolean isGroupDM()
-