Class MessageSource


  • public abstract class MessageSource
    extends Object
    Represents a message source.
    • Constructor Detail

      • MessageSource

        public MessageSource()
    • 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