Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 2 additions & 4 deletions lib/interfaces/Messages.ts
Original file line number Diff line number Diff line change
Expand Up @@ -187,14 +187,12 @@ export type MailgunMessageData = MailgunMessageContent & {
* to the message ('X-My-Header' in this case).
* For example, `h:Reply-To` to specify Reply-To address.
*/
'h:X-My-Header'?: string;
[key: `h:${string}`]: string;

/**
* `v:` prefix followed by an arbitrary name allows to attach a custom JSON data to the message. See [Attaching Data to Messages](https://documentation.mailgun.com/en/latest/user_manual.html#manual-customdata) for more information.
*/
'v:my-var'?: string;

[key: string]: any;
[key: `v:${string}`]: string;
}

export interface MessagesSendAPIResponse {
Expand Down