Variables
CONTACT_PATTERN
CONTACT_PATTERN: RegExp = /^\/v1\/users\/([^/]+)\/contacts\/([^/]+)$/
CONVERSATION_PATTERN
CONVERSATION_PATTERN: RegExp = /^\/v1\/users\/([^/]+)\/conversations\/([^/]+)$/
DEFAULT_ENDPOINT
DEFAULT_ENDPOINT: string = "SELF"
DEFAULT_USER
DEFAULT_USER: string = "ME"
MESSAGES_PATTERN
MESSAGES_PATTERN: RegExp = /^\/v1\/users\/([^/]+)\/conversations\/([^/]+)\/messages$/
MESSAGE_PATTERN
MESSAGE_PATTERN: RegExp = /^\/v1\/users\/([^/]+)\/conversations\/([^/]+)\/messages\/([^/]+)$/
Build the URI for the endpoints of a user.
Template:
https://{host}/v1/users/{userId}/endpoints