Package top.focess.qq.api.bot.message
Class MessageSource
- java.lang.Object
-
- top.focess.qq.api.bot.message.MessageSource
-
public abstract class MessageSource extends Object
Represents a message source.
-
-
Constructor Summary
Constructors Constructor Description MessageSource()
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description abstract longgetBotId()Get the bot idabstract int[]getIds()Get the message idsabstract int[]getInternalIds()Get the message internal idsabstract longgetSender()Get the sender idabstract longgetTarget()Get the target idabstract intgetTime()Get the sending time
-
-
-
Method Detail
-
getSender
public abstract long getSender()
Get the sender id- Returns:
- the sender id
-
getTarget
public abstract long getTarget()
Get the target id- Returns:
- the target id
-
getBotId
public abstract long getBotId()
Get the bot id- Returns:
- the bot id
-
getTime
public abstract int getTime()
Get the sending time- Returns:
- the sending time
-
getIds
public abstract int[] getIds()
Get the message ids- Returns:
- the message ids
-
getInternalIds
public abstract int[] getInternalIds()
Get the message internal ids- Returns:
- the message internal ids
-
-