Type alias Contact

Contact: {
    address: string;
    authName: string;
    color: string;
    displayName: string;
    e2eeAvail: boolean;
    id: T.U32;
    isBlocked: boolean;
    isBot: boolean;
    isProfileVerified: boolean;
    isVerified: boolean;
    lastSeen: I64;
    name: string;
    nameAndAddr: string;
    profileImage: string | null;
    status: string;
    verifierId: T.U32 | null;
    wasSeenRecently: boolean;
}

Type declaration

  • address: string
  • authName: string
  • color: string
  • displayName: string
  • e2eeAvail: boolean
  • id: T.U32
  • isBlocked: boolean
  • isBot: boolean

    If the contact is a bot.

  • isProfileVerified: boolean

    True if the contact profile title should have a green checkmark.

    This indicates whether 1:1 chat has a green checkmark or will have a green checkmark if created.

  • isVerified: boolean

    True if the contact can be added to verified groups.

    If this is true UI should display green checkmark after the contact name in contact list items, in chat member list items and in profiles if no chat with the contact exist.

  • lastSeen: I64

    the contact's last seen timestamp

  • name: string
  • nameAndAddr: string
  • profileImage: string | null
  • status: string
  • verifierId: T.U32 | null

    The ID of the contact that verified this contact.

    If this is present, display a green checkmark and "Introduced by ..." string followed by the verifier contact name and address in the contact profile.

  • wasSeenRecently: boolean

Generated using TypeDoc