File tree Expand file tree Collapse file tree 1 file changed +11
-7
lines changed Expand file tree Collapse file tree 1 file changed +11
-7
lines changed Original file line number Diff line number Diff line change @@ -3,20 +3,24 @@ export type MessageSendRequest = {
3
3
content : string ;
4
4
/** @example "+18005550199" */
5
5
from : string ;
6
+ /** @example "+18005550100" */
7
+ to : string ;
6
8
/**
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
8
10
* @example "153554b5-ae44-44a0-8f4f-7bbac5657ad4"
9
11
*/
10
12
request_id ?: string ;
11
13
/**
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
13
15
* @example "2022-06-05T14:26:09.527976+03:00"
14
16
*/
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 ;
20
24
} ;
21
25
22
26
export type MessageResponse = {
You can’t perform that action at this time.
0 commit comments