VIMessage

Interface that represents message within a conversation.

Members
conversation

UUID of the conversation this message belongs to

@property (nonatomic, strong, readonly) NSString *conversation
sender

User id of the sender of this message.

@property (nonatomic, strong, readonly) NSString *sender
uuid

Universally unique identifier of message

@property (nonatomic, strong, readonly) NSString *uuid
seq

Message sequence number

@property (nonatomic, strong, readonly) NSNumber *seq
text

Text of this message

@property (nonatomic, strong) NSString *text
payload

Array of VIPayload objects associated with the message

@property (nonatomic, strong) NSArray<VIPayload*> *payload
–  update

Sends text and payload changes to the server.

- (void)update
–  remove

Remove the message. Triggers the [VIMessengerDelegate messenger:didRemoveMessage:] event for all messenger objects on all clients, including this one. Clients that are not connected will receive it later.

- (void)remove