ВОЙТИ

IMessageEvent

Interface that represents messenger events related to messages (send, update, remove).

Extends IMessengerEvent which provides service information (IM user id, action, event type).

Methods

getMessage

IMessage getMessage()

Get IMessage with message information.

Returns

getSequence

long getSequence()

Get the sequence number for this event.

Returns

  • Return:

    long

    Sequence number for this event

getTimestamp

long getTimestamp()

Get the UNIX timestamp (seconds) that specifies the time the message event was provoked.

Returns

  • Return:

    long

    UNIX timestamp