Class MessageDeleteInfoImpl
java.lang.Object
com.mewna.catnip.entity.impl.guild.audit.MessageDeleteInfoImpl
- All Implemented Interfaces:
Entity
,MessageDeleteInfo
,OptionalEntryInfo
,RequiresCatnip
- Since:
- 10/07/2018
- Author:
- SamOphis
-
Nested Class Summary
-
Constructor Summary
ConstructorDescriptionMessageDeleteInfoImpl
(Catnip catnip, long channelIdAsLong, int deletedMessagesCount) -
Method Summary
Modifier and TypeMethodDescriptionbuilder()
catnip()
Returns the catnip instance associated with this entity.void
long
channelIdAsLong
(long channelIdAsLong) int
deletedMessagesCount
(int deletedMessagesCount) Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface com.mewna.catnip.entity.guild.audit.MessageDeleteInfo
channelId
-
Constructor Details
-
MessageDeleteInfoImpl
public MessageDeleteInfoImpl() -
MessageDeleteInfoImpl
-
-
Method Details
-
catnip
- Specified by:
catnip
in interfaceRequiresCatnip
-
builder
-
catnip
Description copied from interface:Entity
Returns the catnip instance associated with this entity. -
channelIdAsLong
public long channelIdAsLong()- Specified by:
channelIdAsLong
in interfaceMessageDeleteInfo
-
deletedMessagesCount
public int deletedMessagesCount()- Specified by:
deletedMessagesCount
in interfaceMessageDeleteInfo
-
channelIdAsLong
- Returns:
this
.
-
deletedMessagesCount
- Returns:
this
.
-