Rate this page:

Message

Interface that represents a message (inbound or outbound) in a conversation.

Props

date

Copy URL
val date: 

Long?

Message timestamp in milliseconds.

Available only if the message is sent.

Returns

  • type:

    Long?

requestId

Copy URL
val requestId: 

String?

Temporary message id.

Available only if the message is sent from an application.

Returns

  • type:

    String?

sender

Copy URL
val sender: 

Sender

Sender of the message.

Returns

uuid

Copy URL
val uuid: 

String?

Universal unique ID of the message.

Null for the messages that have not yet been sent from an application, i.e. created or currently being sent via KitChat.sendMessage.

Non null for inbound messages.

Returns

  • type:

    String?