Rate this page:

AttachmentsOnly

Represents a message that contains only attachments.

Constructors

AttachmentsOnly
Copy URL
AttachmentsOnly(attachments: 

List<Attachment>

)

Creates an outbound message with several attachments.

Throws IllegalArgumentException if

Parameters

Throws

IllegalArgumentException

Methods

equals
Copy URL
fun equals(other: 

Any?

):

Boolean

Parameters

  • other:

    Any?

Returns

  • type:

    Boolean

hashCode
Copy URL
fun hashCode(): 

Int

Returns

  • type:

    Int

toString
Copy URL
fun toString(): 

String

Returns

  • type:

    String

Props

attachments
Read-only
Copy URL
val attachments: 

List<Attachment>

List of message attachments.

Returns

date
Read-only
Copy URL
val date: 

Long?

Message timestamp in milliseconds.

Available only if the message is sent.

Returns

  • type:

    Long?

requestId
Read-only
Copy URL
val requestId: 

String?

Temporary message id.

Available only if the message is sent from an application.

Returns

  • type:

    String?

sender
Read-only
Copy URL
val sender: 

Sender

Sender of the message.

Returns

uuid
Read-only
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?

Rate this page: