Interface GroupChannel
- All Superinterfaces:
Channel
,Formattable
,IDetachableEntity
,IMentionable
,ISnowflake
,MessageChannel
Represents a Group DM channel.
This is only used for user-installed apps.
-
Field Summary
FieldsFields inherited from interface net.dv8tion.jda.api.entities.channel.Channel
MAX_NAME_LENGTH
-
Method Summary
Modifier and TypeMethodDescriptiondefault ImageProxy
getIcon()
Returns anImageProxy
for this group channel's icon.The Discord hash-id of the group channel icon image.default String
The URL of the group channel icon image.default String
Returns the ID of the user which owns thisGroupChannel
.long
Returns the ID of the user which owns thisGroupChannel
.default RestAction
<User> Retrieves theUser
which owns thisGroupChannel
.Methods inherited from interface net.dv8tion.jda.api.entities.channel.Channel
delete, formatTo, getAsMention, getFlags, getJDA, getName, getType
Methods inherited from interface net.dv8tion.jda.api.entities.detached.IDetachableEntity
isDetached
Methods inherited from interface net.dv8tion.jda.api.entities.ISnowflake
getId, getIdLong, getTimeCreated
Methods inherited from interface net.dv8tion.jda.api.entities.channel.middleman.MessageChannel
addReactionById, addReactionById, canTalk, deleteMessageById, deleteMessageById, editMessageAttachmentsById, editMessageAttachmentsById, editMessageAttachmentsById, editMessageAttachmentsById, editMessageById, editMessageById, editMessageById, editMessageById, editMessageComponentsById, editMessageComponentsById, editMessageComponentsById, editMessageComponentsById, editMessageEmbedsById, editMessageEmbedsById, editMessageEmbedsById, editMessageEmbedsById, editMessageFormatById, editMessageFormatById, endPollById, endPollById, getHistory, getHistoryAfter, getHistoryAfter, getHistoryAfter, getHistoryAround, getHistoryAround, getHistoryAround, getHistoryBefore, getHistoryBefore, getHistoryBefore, getHistoryFromBeginning, getIterableHistory, getLatestMessageId, getLatestMessageIdLong, pinMessageById, pinMessageById, purgeMessages, purgeMessages, purgeMessagesById, purgeMessagesById, purgeMessagesById, removeReactionById, removeReactionById, retrieveMessageById, retrieveMessageById, retrievePinnedMessages, retrievePollVotersById, retrievePollVotersById, retrieveReactionUsersById, retrieveReactionUsersById, sendFiles, sendFiles, sendMessage, sendMessage, sendMessageComponents, sendMessageComponents, sendMessageEmbeds, sendMessageEmbeds, sendMessageFormat, sendMessagePoll, sendTyping, unpinMessageById, unpinMessageById
-
Field Details
-
ICON_URL
Template forgetIconUrl()
.- See Also:
-
-
Method Details
-
getIconId
The Discord hash-id of the group channel icon image. If no icon has been set, this returnsnull
.- Returns:
- Possibly-null String containing the group channel's icon hash-id.
-
getIconUrl
The URL of the group channel icon image. If no icon has been set, this returnsnull
.- Returns:
- Possibly-null String containing the group channel's icon URL.
-
getIcon
Returns anImageProxy
for this group channel's icon.- Returns:
- Possibly-null
ImageProxy
of this group channel's icon - See Also:
-
getOwnerIdLong
long getOwnerIdLong()Returns the ID of the user which owns thisGroupChannel
.- Returns:
- The ID of the user which owns this
GroupChannel
-
getOwnerId
Returns the ID of the user which owns thisGroupChannel
.- Returns:
- The ID of the user which owns this
GroupChannel
-
retrieveOwner
Retrieves theUser
which owns thisGroupChannel
.- Returns:
- A
RestAction
to retrieve theUser
which owns thisGroupChannel
.
-