docs: Make get-message-history use curl example system.

This commit is contained in:
Vishnu Ks
2019-10-09 09:05:28 +00:00
committed by Tim Abbott
parent ed2e89f167
commit 19ee518f2e
2 changed files with 2 additions and 4 deletions

View File

@@ -18,10 +18,7 @@ Note that edit history may be disabled in some organizations; see the
{tab|curl} {tab|curl}
``` curl {generate_code_example(curl)|/messages/{message_id}/history:get|example}
curl -X GET {{ api_url }}/v1/messages/{message_id}/history \
-u BOT_EMAIL_ADDRESS:BOT_API_KEY
```
{end_tabs} {end_tabs}

View File

@@ -23,6 +23,7 @@ exclude_list = [
'get-raw-message.md', 'get-raw-message.md',
'update-message.md', 'update-message.md',
'delete-message.md', 'delete-message.md',
'get-message-history.md',
] ]
def test_generated_curl_examples_for_success(client: Client) -> None: def test_generated_curl_examples_for_success(client: Client) -> None: