Class MessageImpl.MessageImplBuilder
java.lang.Object
com.mewna.catnip.entity.impl.message.MessageImpl.MessageImplBuilder
- Enclosing class:
- MessageImpl
-
Method Summary
Modifier and TypeMethodDescriptionactivity
(Message.MessageActivity activity) application
(Message.MessageApplication application) attachments
(List<Message.Attachment> attachments) build()
channelIdAsLong
(long channelIdAsLong) components
(List<MessageComponent> components) editedTimestamp
(String editedTimestamp) flagsRaw
(int flagsRaw) guildIdAsLong
(long guildIdAsLong) idAsLong
(long idAsLong) mentionedChannels
(List<ChannelMention> mentionedChannels) mentionedMembers
(List<Member> mentionedMembers) mentionedRoleIds
(List<String> mentionedRoleIds) mentionedUsers
(List<User> mentionedUsers) mentionsEveryone
(boolean mentionsEveryone) messageReference
(MessageReference messageReference) pinned
(boolean pinned) reactions
(List<Message.Reaction> reactions) referencedMessage
(Message referencedMessage) toString()
tts
(boolean tts) type
(MessageType type) webhookIdAsLong
(long webhookIdAsLong)
-
Method Details
-
catnip
- Returns:
this
.
-
idAsLong
- Returns:
this
.
-
channelIdAsLong
- Returns:
this
.
-
author
- Returns:
this
.
-
content
- Returns:
this
.
-
timestamp
- Returns:
this
.
-
editedTimestamp
- Returns:
this
.
-
tts
- Returns:
this
.
-
mentionsEveryone
- Returns:
this
.
-
mentionedUsers
- Returns:
this
.
-
mentionedMembers
- Returns:
this
.
-
mentionedRoleIds
- Returns:
this
.
-
attachments
- Returns:
this
.
-
embeds
- Returns:
this
.
-
reactions
- Returns:
this
.
-
activity
- Returns:
this
.
-
application
- Returns:
this
.
-
messageReference
- Returns:
this
.
-
nonce
- Returns:
this
.
-
pinned
- Returns:
this
.
-
webhookIdAsLong
- Returns:
this
.
-
type
- Returns:
this
.
-
member
- Returns:
this
.
-
guildIdAsLong
- Returns:
this
.
-
flagsRaw
- Returns:
this
.
-
mentionedChannels
- Returns:
this
.
-
referencedMessage
- Returns:
this
.
-
stickers
- Returns:
this
.
-
components
- Returns:
this
.
-
build
-
toString
-