A post with code blocks
Python Code block
def my_handler(event, context):
print("Received event: " + json.dumps(event, indent=2))
handle(event['message'])
JSON code block
{
"update_id": 8888,
"message": {
"chat": {
"first_name": "Matt",
"id": put_your_id_here,
"last_name": "McManus",
"type": "private",
"rolename": "mcman_s"
},
"date": 1453851465,
"from": {
"first_name": "Matt",
"id": put_your_id_here,
"last_name": "McManus",
"rolename": "mcman_s"
},
"message_id": 2,
"text": "/start"
}
}