7 changed files with 142 additions and 12 deletions
@ -0,0 +1,39 @@
|
||||
{ |
||||
"@context": "https://schema.org/extensions", |
||||
"@type": "MessageCard", |
||||
"themeColor": "0072C6", |
||||
"title": "Visit the Outlook Dev Portal", |
||||
"text": "Click **Learn More** to learn more about Actionable Messages!", |
||||
"potentialAction": [ |
||||
{ |
||||
"@type": "ActionCard", |
||||
"name": "Send Feedback", |
||||
"inputs": [ |
||||
{ |
||||
"@type": "TextInput", |
||||
"id": "feedback", |
||||
"isMultiline": true, |
||||
"title": "Let us know what you think about Actionable Messages" |
||||
} |
||||
], |
||||
"actions": [ |
||||
{ |
||||
"@type": "HttpPOST", |
||||
"name": "Send Feedback", |
||||
"isPrimary": true, |
||||
"target": "http://..." |
||||
} |
||||
] |
||||
}, |
||||
{ |
||||
"@type": "OpenUri", |
||||
"name": "Learn More", |
||||
"targets": [ |
||||
{ |
||||
"os": "default", |
||||
"uri": "https://docs.microsoft.com/outlook/actionable-messages" |
||||
} |
||||
] |
||||
} |
||||
] |
||||
} |
||||
@ -0,0 +1,65 @@
|
||||
{ |
||||
"ok": true, |
||||
"result": [ |
||||
{ |
||||
"update_id": 436224617, |
||||
"my_chat_member": { |
||||
"chat": { |
||||
"id": -780322874, |
||||
"title": "Test", |
||||
"type": "group", |
||||
"all_members_are_administrators": false |
||||
}, |
||||
"from": { |
||||
"id": 65498889, |
||||
"is_bot": false, |
||||
"first_name": "Daniel", |
||||
"last_name": "Yutsuo", |
||||
"username": "yutsuo", |
||||
"language_code": "en" |
||||
}, |
||||
"date": 1650981614, |
||||
"old_chat_member": { |
||||
"user": { |
||||
"id": 5209410321, |
||||
"is_bot": true, |
||||
"first_name": "bb_CFE_bot", |
||||
"username": "bb_CFE_bot" |
||||
}, |
||||
"status": "left" |
||||
}, |
||||
"new_chat_member": { |
||||
"user": { |
||||
"id": 5209410321, |
||||
"is_bot": true, |
||||
"first_name": "bb_CFE_bot", |
||||
"username": "bb_CFE_bot" |
||||
}, |
||||
"status": "member" |
||||
} |
||||
} |
||||
}, |
||||
{ |
||||
"update_id": 436224618, |
||||
"message": { |
||||
"message_id": 25, |
||||
"from": { |
||||
"id": 65498889, |
||||
"is_bot": false, |
||||
"first_name": "Daniel", |
||||
"last_name": "Yutsuo", |
||||
"username": "yutsuo", |
||||
"language_code": "en" |
||||
}, |
||||
"chat": { |
||||
"id": -780322874, |
||||
"title": "Test", |
||||
"type": "group", |
||||
"all_members_are_administrators": true |
||||
}, |
||||
"date": 1650981614, |
||||
"group_chat_created": true |
||||
} |
||||
} |
||||
] |
||||
} |
||||
Loading…
Reference in new issue