Skip to content

Commit

Permalink
Fix messaging examples in README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
mcvady authored and eoghantelnyx committed Sep 25, 2020
1 parent e947471 commit 68ec33d
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -142,7 +142,7 @@ The Telnyx API includes `from` as an attribute that can be set on messages.
arguments where an argument is a reserved word you can add the suffix `_` e.g.

```
telnyx.Messages.create(
telnyx.Message.create(
to="+18665550001",
from_="+18445550001",
text="Foo"
Expand All @@ -158,7 +158,7 @@ The argument will be automatically rewritten to `from` in the keyword arguments
> "to": "+18665550001",
> "text": "Foo",
> }
> telnyx.Messages.create(**message)
> telnyx.Message.create(**message)
> ```
### Logging
Expand Down

0 comments on commit 68ec33d

Please sign in to comment.