Last active
June 2, 2025 05:47
-
-
Save rmdwirizki/e7b1507f08d993b8a68aceb28ed41c9a to your computer and use it in GitHub Desktop.
Trakteer Webhook: Websocket Data Example
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"data": { | |
"supporter_name": "Seseorang", | |
"unit": "Cendol", | |
"quantity": 2, | |
"supporter_message": "Selalu Berkarya!", | |
"supporter_avatar": "https://edge-cdn.trakteer.id/images/mix/default-avatar.png", | |
"unit_icon": "https://edge-cdn.trakteer.id/images/mix/mie-ayam.png", | |
"price": "Rp 5.000", | |
"media": { | |
"gif": "3oEduQAsYcJKQH2XsI", // ID gif selection from Giphy | |
"video": { | |
"type": "tiktok", // Empty if youtube | |
"id": "z3U0udLH974", // Youtube or Tiktok video ID | |
"start": 0 // Start youtube video duration | |
}, | |
"voice": "https://edge-cdn.trakteer.id/audio/vn-sample-cat-voice.mp3" // Voice note | |
} | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment