public class MessageReferenceSpec extends Object implements Spec<discord4j.discordjson.json.MessageReferenceData>
Constructor and Description |
---|
MessageReferenceSpec() |
Modifier and Type | Method and Description |
---|---|
discord4j.discordjson.json.MessageReferenceData |
asRequest() |
MessageReferenceSpec |
setChannelId(Snowflake channelId)
Sets the ID of the originating message's channel.
|
MessageReferenceSpec |
setGuildId(Snowflake guildId)
Sets the ID of the originating message's guild.
|
MessageReferenceSpec |
setMessageId(Snowflake messageId)
Sets the ID of the originating message.
|
public MessageReferenceSpec setMessageId(Snowflake messageId)
messageId
- The ID of the originating message.public MessageReferenceSpec setChannelId(Snowflake channelId)
channelId
- The ID of the originating message's channel.public MessageReferenceSpec setGuildId(Snowflake guildId)
guildId
- The ID of the originating message's guild.