Skip to content

Instantly share code, notes, and snippets.

@xsobolx
Created May 30, 2018 20:59
Show Gist options
  • Select an option

  • Save xsobolx/0938d1d6d127457bc97fdaa16946c2b7 to your computer and use it in GitHub Desktop.

Select an option

Save xsobolx/0938d1d6d127457bc97fdaa16946c2b7 to your computer and use it in GitHub Desktop.
05-30 23:52:14.445 6225-6225/com.motoris.motorist D/ChatListPresenter: new_chat: {
"chat_id": "chat_id",
"created_at": 13432543245325532,
"recipients": [
"rec1",
"rec2",
"rec3"
]
}
05-30 23:52:14.446 6225-6225/com.motoris.motorist D/ChatListPresenter: text_payload: {
"message": "text"
}
05-30 23:52:14.450 6225-6225/com.motoris.motorist D/ChatListPresenter: image_payload: {
"media_type": "image/jpeg",
"original": "original",
"original_size": 343434,
"thumbnail": "thumb",
"thumbnail_size": 3253535
}
05-30 23:52:14.458 6225-6225/com.motoris.motorist D/ChatListPresenter: message_status: {
"chat_id": "chat_id",
"message_id": "message_id",
"status": "DELIVERED_TO_RECIPIENT"
}
05-30 23:52:14.460 6225-6225/com.motoris.motorist D/ChatListPresenter: chat_updated: {
"chat_id": "chat_id",
"created_at": 12345,
"reason": "RECIPIENT_ADDED",
"recipients": [
"rec1",
"rec2",
"rec3"
],
"updated_at": 435436
}
05-30 23:52:14.464 6225-6225/com.motoris.motorist D/ChatListPresenter: chat_message: {
"chat_id": "chat_id",
"payload": {
"message": "text"
},
"message_id": "message_id",
"payload_type": "TEXT_MESSAGE",
"sender_id": "sender_id",
"sender_name": "sender_name",
"timestamp": 463466436
}
05-30 23:52:14.470 6225-6225/com.motoris.motorist D/ChatListPresenter: event: {
"envelope": {
"chat_id": "chat_id",
"payload": {
"message": "text"
},
"message_id": "message_id",
"payload_type": "TEXT_MESSAGE",
"sender_id": "sender_id",
"sender_name": "sender_name",
"timestamp": 463466436
},
"envelope_type": "CHAT_MESSAGE",
"event_id": "event_id",
"sync_id": "sync_id"
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment