Skip to content

Commit 651141c

Browse files
feat(api): api update
1 parent feded2e commit 651141c

File tree

2 files changed

+8
-5
lines changed

2 files changed

+8
-5
lines changed

.stats.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
configured_endpoints: 40
2-
openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/sent%2Fsent-dm-3646e4913179364806905f9f0df9756cde93acb55493661cb0a3a36c9e68cdb2.yml
3-
openapi_spec_hash: 3878c0e6fc7e695a2c059a712dac0f4f
2+
openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/sent%2Fsent-dm-2d0bb64dc84ba67ee91db6ff81424a968c5ddea4d2844ba67fc9b4b27881d60f.yml
3+
openapi_spec_hash: 8e1d6bc2a6c6afef625e2bdcdf28ac63
44
config_hash: d8e8429147c4e214ff53c11e7ab2a1a6

src/sent_dm/types/message_send_response.py

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,12 @@
1212
class DataRecipient(BaseModel):
1313
"""Per-recipient result in the send message response"""
1414

15+
body: Optional[str] = None
16+
"""
17+
Resolved template body text for this recipient's channel, or null for
18+
auto-detect
19+
"""
20+
1521
channel: Optional[str] = None
1622
"""Channel this message will be sent on (e.g.
1723
@@ -28,9 +34,6 @@ class DataRecipient(BaseModel):
2834
class Data(BaseModel):
2935
"""Response for the multi-recipient send message endpoint"""
3036

31-
body: Optional[str] = None
32-
"""Resolved template body text"""
33-
3437
recipients: Optional[List[DataRecipient]] = None
3538
"""Per-recipient message results"""
3639

0 commit comments

Comments
 (0)