Examples for Ratatoskr Device Provider Metadata

From DeviceProviderMetadata.yaml (ratatoskr/DeviceProviderMetadata.schema)

---
botmdhospital: {}
---
line:
  user_id: Udeadbeefdeadbeefdeadbeefdeadbeef
  access_token: lineloginaccesstoken12345
  display_name: John
  language: en
  is_follower: false
  is_follower_updated_on: "2018-06-01T12:34:56+00:00"
---
messagebird:
  conversation_id: null
  contact_id: null
---
messagebird:
  conversation_id: JfVC1QuE2r376qoXclCgcpfvRmIrUl
  contact_id: 3jjsdjbzgBmkhQlzRa59liQwQqj4Vg
---
messenger:
  psid: "2342424324"
  fb_profile_id: "1234567890"
  fb_profile_name: "John Smith"
  notification_messages_token: "xxxxxxxxxxxxx"
  notification_messages_token_expiry_timestamp: "2018-06-01T12:34:56+00:00"
---
noop: {}
---
promotexter: {}
---
pinpoint: {}
---
pusher:
  channel: private-xxxx012345678901234567890
---
pusher:
  channel: private-xxxx012345678901234567890
  socket_id: "567567.456546" # optional but string
---
pusher:
  channel: private-xxxx012345678901234567890

fcm:
  token: "fUPJJeT9q1s:fghfhfgfghfgh"
  os: android

---
pusher:
  channel: private-xxxx012345678901234567890

fcm:
  token: null
  os: android

---
qiscus:
  room_id: "12341"
  channel: wa
  name: John
---
qiscus: # when it has never been an incoming message before
  channel: wa
---
qontak:
  phone_no: "621234"
---
qontak:
  room_id: "12341"
  phone_no: "621234"
---
qontak:
  room_id: "12341"
  phone_no: "621234"
  name: "john"
---
ses:
  name: Example User
  email: user@example.com
---
ses:
  email: noname@example.com
---
smooch:
  app_id: app012345678901234567890
  conversation_id: conversation123456789012
  client: # this is from Smooch for WhatsApp
    {integrationId: integration1234567890123, type: whatsapp, externalId: "6591231234", id: client123456789012345678, displayName: +65 9123 1234, status: active, raw: {profile: {name: test}, from: "6591231234"}, lastSeen: "2021-01-01T00:00:00.000Z", linkedAt: "2021-01-01T00:00:00.000Z"}
---
smooch:
  app_id: app012345678901234567890,
  conversation_id: null
---
smooch:
  app_id: app012345678901234567890,
  conversation_id: null
  client: null
---
# client is optional/nullable
smooch:
  app_id: app012345678901234567890
  conversation_id: conversation123456789012

---
# client is optional/nullable
smooch:
  app_id: app012345678901234567890
  conversation_id: conversation123456789012
  client: null

---
# client is optional/nullable
smooch:
  app_id: app012345678901234567890
  conversation_id: conversation123456789012
  client: null

---
smtp:
  name: Example User
  email: user@example.com
---
telegram:
  chat_id: 12345
  username: xxxxx
  user_metadata:
    is_bot: false
    first_name: Bot
    username: fivehealthbot
    language_code: en
---
twilio: {}
---
viber:
  user_id: Udeadbeefdeadbeefdeadbeefdeadbeef
  display_name: John
  language: en
  is_follower: false
  is_follower_updated_on: "2018-06-01T12:34:56+00:00"
---
whatsapp:
  wa_id: "6591231234"
  name: John


[Main Page] [Schema Documentation] [Raw Schema] [JSON Schema]