Package com.mewna.catnip.entity.partials
Interface Mentionable
- All Known Subinterfaces:
ApplicationOwner
,InteractionMember
,Member
,NewsChannel
,Role
,StageChannel
,TextChannel
,ThreadChannel
,User
,VoiceChannel
- All Known Implementing Classes:
ApplicationOwnerImpl
,InteractionMemberImpl
,MemberImpl
,NewsChannelImpl
,RoleImpl
,StageChannelImpl
,TextChannelImpl
,ThreadChannelImpl
,UserImpl
,VoiceChannelImpl
- Functional Interface:
- This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.
An entity that can be mentioned.
User
s, TextChannel
s, and
Member
s are all examples of mentionable entities.- Since:
- 2/3/19.
- Author:
- Nik Ammerlaan
-
Method Summary
-
Method Details
-
asMention
- Returns:
- A mention for this entity that can be sent in a message.
-