Skip to content

Instantly share code, notes, and snippets.

@rmdwirizki
Created October 9, 2023 00:44
Show Gist options
  • Save rmdwirizki/e7b1507f08d993b8a68aceb28ed41c9a to your computer and use it in GitHub Desktop.
Save rmdwirizki/e7b1507f08d993b8a68aceb28ed41c9a to your computer and use it in GitHub Desktop.
Trakteer Webhook: Websocket Data Example
{
"data": {
"supporter_name": "Seseorang",
"unit": "Cendol",
"quantity": 2,
"supporter_message": "Selalu Berkarya!",
"supporter_avatar": "https://cdn.trakteer.id/images/mix/default-avatar.png",
"unit_icon": "https://cdn.trakteer.id/images/mix/mie-ayam.png",
"price": "Rp 5.000",
"media": {
"gif": "3oEduQAsYcJKQH2XsI", // ID gif selection from Giphy
"video": {
"id": "z3U0udLH974", // Youtube video ID
"start": 0 // Start youtube video duration
}
}
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment