Created
September 8, 2022 18:36
-
-
Save spicyjack/ac3c1876477b5371403163850acc88d7 to your computer and use it in GitHub Desktop.
PlantUML demo: Forward From Chat Telegram Message (JSON format)
This file contains 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
@startjson | |
'!theme materia-outline | |
'!theme mimeograph | |
'!theme crt-amber | |
'!theme blueprint | |
!theme vibrant | |
#highlight "message" / "forward_from_chat" | |
#highlight "message" / "forward_date" | |
<style> | |
jsonDiagram { | |
highlight { | |
BackgroundColor LightSkyBlue | |
FontColor black | |
FontStyle italic | |
} | |
} | |
</style> | |
{ | |
"update_id":10000, | |
"message":{ | |
"date":1441645532, | |
"chat":{ | |
"last_name":"Test Lastname", | |
"type": "private", | |
"id":1111111, | |
"first_name":"Test Firstname", | |
"username":"Testusername" | |
}, | |
"message_id":1365, | |
"from":{ | |
"id":1111111, | |
"is_bot": false, | |
"first_name":"Test Firstname", | |
"last_name":"Test Lastname", | |
"username":"Testusername", | |
"language_code": "en" | |
}, | |
"forward_from_chat": { | |
"id": -10000000000, | |
"type": "channel", | |
"title": "Test channel" | |
}, | |
"forward_date":1441645550, | |
"text":"/start" | |
} | |
} | |
@endjson | |
' vim: filetype=plantuml tabstop=2 shiftwidth=2 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment