Skip to content

Latest commit

 

History

History
23 lines (16 loc) · 1.15 KB

UserCreateBody.md

File metadata and controls

23 lines (16 loc) · 1.15 KB

SunshineConversationsClient::UserCreateBody

Properties

Name Type Description Notes
external_id String A unique identifier for the user. The `externalId` can be used to link a user to the same conversation across multiple devices.
signed_up_at String The date at which the user signed up. Must be ISO 8601 time format `YYYY-MM-DDThh:mm:ss.sssZ`. [optional]
profile Profile [optional]
metadata Object Flat object containing custom properties. Strings, numbers and booleans are the only supported format that can be passed to metadata. The metadata is limited to 4KB in size. [optional]

Code Sample

require 'SunshineConversationsClient'

instance = SunshineConversationsClient::UserCreateBody.new(external_id: your-own-id,
                                 signed_up_at: 2020-05-21T15:53:30.197Z,
                                 profile: null,
                                 metadata: {"lang":"en-ca"})