Contents

init(name:handle:isUser:)

Creates a participant in a conversation.

Declaration

init(name: String, handle: String, isUser: Bool)

Parameters

  • name:

    The participant’s display name, for example, Juan Chavez.

  • handle:

    A unique identifier for the participant, like an email address or phone number.

  • isUser:

    A Boolean value that indicates whether the participant is the user of this device. Set isUser to true for the participant whose identity matches the user signed in to your app on this device, and false for every other participant.