Skip to content

Instantly share code, notes, and snippets.

@tylerhammer
Created March 8, 2021 21:17
Show Gist options
  • Save tylerhammer/df0883d5da321c07edb8c3b1eebae26d to your computer and use it in GitHub Desktop.
Save tylerhammer/df0883d5da321c07edb8c3b1eebae26d to your computer and use it in GitHub Desktop.
{
"category": "bot_message_notification",
"sender": {
"nickname": "Martina Allen",
"user_id": "1_2_35513214",
"profile_url": "",
"metadata": {}
},
"members": [
{
"unread_message_count": 0,
"total_unread_message_count": 0,
"is_active": true,
"is_online": true,
"is_hidden": 0,
"nickname": "Martina Allen",
"is_push_enabled": true,
"user_id": "1_2_35513214",
"channel_unread_message_count": 0,
"do_not_disturb": false,
"state": "joined",
"push_trigger_option": "default",
"profile_url": "",
"metadata": {}
},
{
"unread_message_count": 86,
"total_unread_message_count": 86,
"is_active": true,
"is_online": false,
"is_hidden": 0,
"nickname": "Jacob Carroll",
"is_push_enabled": true,
"user_id": "2_2_4359",
"channel_unread_message_count": 28,
"do_not_disturb": false,
"state": "joined",
"push_trigger_option": "default",
"profile_url": "",
"metadata": {}
},
{
"unread_message_count": 0,
"total_unread_message_count": 0,
"is_active": true,
"is_online": false,
"is_hidden": 0,
"nickname": "Lucy, AIU Assistant",
"is_push_enabled": true,
"user_id": "bot_aiu_lucy",
"channel_unread_message_count": 0,
"do_not_disturb": false,
"state": "joined",
"push_trigger_option": "default",
"profile_url": "https://chatbotlistener.azurewebsites.net/images/aiu.png",
"metadata": {}
}
],
"mentioned": [],
"message": {
"files": [],
"type": "MESG",
"translations": {},
"custom_type": "",
"text": "hi\n",
"created_at": 1615237968863,
"data": "",
"message_id": 6305659904
},
"bot": {
"bot_token": "ac73208f1fe372da606ec92e33369056af7824a9",
"bot_profile_url": "https://chatbotlistener.azurewebsites.net/images/aiu.png",
"bot_nickname": "Lucy, AIU Assistant",
"bot_metadata": {},
"bot_userid": "bot_aiu_lucy"
},
"ts": 1615237968863,
"channel": {
"is_distinct": true,
"name": "Jacob Carroll, Martina Allen",
"custom_type": "PrivateChat",
"cover_url": "https://static.sendbird.com/sample/cover/cover_15.jpg",
"channel_type": "messaging",
"channel_url": "sendbird_group_channel_219549722_e83e65720f9228bb291624cd4a8bc0ecc601fc22"
},
"app_id": "C64358F9-6B04-4085-8FD2-456EC44601E9"
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment