PushNotificationChatMessageEvent

public class PushNotificationChatMessageEvent

BaseChatMessageEvent for push notifications.

Properties

  • The id of the message. This id is server generated.

    Declaration

    Swift

    public var messageId: String
  • The message type.

    Declaration

    Swift

    public var type: ChatMessageType
  • Chat thread id.

    Declaration

    Swift

    public var threadId: String
  • Sender Id

    Declaration

    Swift

    public var sender: CommunicationIdentifier
  • Recipient Id

    Declaration

    Swift

    public var recipient: CommunicationIdentifier
  • Sender display name.

    Declaration

    Swift

    public var senderDisplayName: String?
  • The timestamp when the message arrived at the server. The timestamp is in RFC3339 format: yyyy-MM-ddTHH:mm:ssZ.

    Declaration

    Swift

    public var originalArrivalTime: Iso8601Date?
  • Version of the message.

    Declaration

    Swift

    public var version: String