PhoneMessageConversation

public struct PhoneMessageConversation

An object representing a conversation between a sudo phone number and one or more participants. This id of this object will be set as the conversation id on message objects

  • Enum that represents the direction of the message.

    Declaration

    Swift

    public enum MessageConversationType
  • id

    Unique ID of the conversation. Calculated by calculating the v5 UUID of localPhoneNumber + remotePhoneNumber with owner as the namespace

    Declaration

    Swift

    public let id: String
  • The ID of the owner of the message (also referred to as the subject)

    Declaration

    Swift

    public let owner: String
  • The MessageConversationType of the conversation

    Declaration

    Swift

    public let type: MessageConversationType
  • The id of the latest message in the conversation

    Declaration

    Swift

    public let latestMessageId: String
  • The latest phone message

    Declaration

    Swift

    public var latestPhoneMessage: PhoneMessage?
  • The creation date of the conversation

    Declaration

    Swift

    public let created: Date
  • The date of the last modification to the conversation

    Declaration

    Swift

    public let updated: Date