Skip to content

Commit dc2f2a4

Browse files
committed
Make the encrypted field optional
1 parent 4955eeb commit dc2f2a4

File tree

1 file changed

+11
-7
lines changed

1 file changed

+11
-7
lines changed

src/models.ts

Lines changed: 11 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -3,20 +3,24 @@ export type MessageSendRequest = {
33
content: string;
44
/** @example "+18005550199" */
55
from: string;
6+
/** @example "+18005550100" */
7+
to: string;
68
/**
7-
* RequestID is an optional parameter used to track a request from the client's perspective
9+
* request_id is an optional parameter used to track a request from the client's perspective
810
* @example "153554b5-ae44-44a0-8f4f-7bbac5657ad4"
911
*/
1012
request_id?: string;
1113
/**
12-
* SendAt is an optional parameter used to schedule a message to be sent at a later time
14+
* send_at is an optional parameter used to schedule a message to be sent at a later time
1315
* @example "2022-06-05T14:26:09.527976+03:00"
1416
*/
15-
send_at?: string;
16-
/** @example "+18005550100" */
17-
to: string;
18-
/** @example false */
19-
encrypted: boolean;
17+
send_at?: Date;
18+
/**
19+
* Determines weather or not the message content is encrypted already. Note that you have to also set the encryption
20+
* key on the Android app for this feature to work properly.
21+
* @example false
22+
*/
23+
encrypted?: boolean;
2024
};
2125

2226
export type MessageResponse = {

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy