You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
By default, the Twilio Client will make synchronous requests to the Twilio API. To allow for asynchronous, non-blocking requests, we've included an optional asynchronous HTTP client. When used with the Client and the accompanying `*_async` methods, requests made to the Twilio API will be performed asynchronously.
151
+
152
+
```python
153
+
from twilio.http.async_http_client import AsyncTwilioHttpClient
- [Updated PyJWT to >=2.0.0](https://github.com/twilio/twilio-python/pull/560/files#diff-4d7c51b1efe9043e44439a949dfd92e5827321b34082903477fd04876edb7552L6)
28
95
29
-
### CHANGED - [Remove the ability to override the `algorithm` in `Jwt.to_jwt()`](https://github.com/twilio/twilio-python/pull/560/commits/dab158f429015e0894217d6503f55b517c27c474).
30
-
#### Removed the ability to override the algorithm while using a jwt access token:
96
+
### CHANGED - [Remove the ability to override the `algorithm` in `Jwt.to_jwt()`](https://github.com/twilio/twilio-python/pull/560/commits/dab158f429015e0894217d6503f55b517c27c474)
97
+
98
+
#### Removed the ability to override the algorithm while using a jwt access token
99
+
31
100
```python
32
101
//6.x.x
33
102
from twilio.jwt.access_token import AccessToken
34
103
token.to_jwt(algorithm='HS512')
35
104
```
105
+
36
106
```python
37
107
//7.x.x
38
108
from twilio.jwt.access_token import AccessToken
39
109
token.to_jwt()
40
110
```
41
111
42
-
[2017-09-28] 6.6.x to 6.7.x
43
-
---------------------------
112
+
## [2017-09-28] 6.6.x to 6.7.x
44
113
45
-
### CHANGED - `Body` parameter on Chat `Message` creation is no longer required.
114
+
### CHANGED - `Body` parameter on Chat `Message` creation is no longer required
46
115
47
116
#### Rationale
117
+
48
118
This was changed to add support for sending media in Chat messages, users can now either provide a `body`or a `media_sid`.
49
119
50
120
#### 6.6.x
121
+
51
122
```python
52
123
from twilio.rest import Client
53
124
@@ -56,6 +127,7 @@ client.chat.v2.services('IS123').channels('CH123').messages.create("this is the
0 commit comments