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 ImageProxygetIcon()Returns anImageProxyfor this group channel's icon.The Discord hash-id of the group channel icon image.default StringThe URL of the group channel icon image.default StringReturns the ID of the user which owns thisGroupChannel.longReturns the ID of the user which owns thisGroupChannel.default RestAction<User> Retrieves theUserwhich owns thisGroupChannel.Methods inherited from interface net.dv8tion.jda.api.entities.channel.Channel
delete, formatTo, getAsMention, getFlags, getJDA, getName, getTypeMethods inherited from interface net.dv8tion.jda.api.entities.detached.IDetachableEntity
isDetachedMethods inherited from interface net.dv8tion.jda.api.entities.ISnowflake
getId, getIdLong, getTimeCreatedMethods 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, 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, retrieveReactionUsersById, retrieveReactionUsersById, sendFiles, sendFiles, sendMessage, sendMessage, sendMessageComponents, 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 anImageProxyfor this group channel's icon.- Returns:
- Possibly-null
ImageProxyof 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 theUserwhich owns thisGroupChannel.- Returns:
- A
RestActionto retrieve theUserwhich owns thisGroupChannel.
-