Last active
April 7, 2025 18:29
-
-
Save fgcoelho/2bcffa40526943c026e072a363b95e85 to your computer and use it in GitHub Desktop.
Telegram Miniapp first access by user webhook payload
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
| const json = { | |
| "update_id": 0000000000, | |
| "message": { | |
| "message_id": 00, | |
| "from": { | |
| "id": 0000000000, | |
| "is_bot": false, | |
| "first_name": "john", | |
| "last_name": "doe", | |
| "language_code": "en-us" | |
| }, | |
| "chat": { | |
| "id": 0000000000, | |
| "first_name": "john", | |
| "last_name": "doe", | |
| "type": "private" | |
| }, | |
| "date": 0000000000, | |
| "write_access_allowed": { "web_app_name": "app_name" } | |
| } | |
| } |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment