Custom UI- InviteButtons

Add your component within Root with this line:

<Delivered.InviteButtons render={props => <YourCustomComponent {...props} />} />


  • invite user to join chat by their ID
  • invite contact to join chat

Provided props

  • inviteContact (string) indicates whether or not the list of contacts should be shown.
  • contacts (array) all the user’s contacts.
  • members (array) all the members of the chat. Used to filter the contact list so invitations are not sent to users who are already members.
  • users (object) all users and their profiles.
  • inviteUser (function) sends an invite and updates the invites value used in ChatInvites.
  • toggleUpdateState(property) (function) changes the value of the property. The property should be ‘inviteContact’.
  • invites (array) all the chat’s invitations.
  • canInvite (boolean) indicates whether or not the user is able to send invitations to the current chat.