-
Notifications
You must be signed in to change notification settings - Fork 180
/
MMSVcardRequest.ts
46 lines (41 loc) · 1014 Bytes
/
MMSVcardRequest.ts
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
/**
* Represents a request for sending a vCard message via the MMS (Multimedia Messaging Service) channel.
*
* @group MMS
* @category Requests
*
* @remarks
* Vonage API's will return information using `snake_case`. This represents the
* pure response before the client will transform the keys into `camelCase`.
*/
export type MMSVcardRequest = {
/**
* A client-defined reference string for the message.
*/
client_ref: string;
/**
* The type of the message, which is 'vcard' for a vCard message.
*/
message_type: 'vcard';
/**
* The vCard content of the message, including the URL of the vCard file.
*/
vcard: {
/**
* The URL of the vCard file to be sent in the message.
*/
url: string;
};
/**
* The recipient's phone number or identifier.
*/
to: string;
/**
* The sender's phone number or identifier.
*/
from: string;
/**
* The channel through which the message will be sent, which is 'mms' for MMS.
*/
channel: 'mms';
}