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: 3 additions & 3 deletions index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -270,7 +270,7 @@ export interface IInitObject {
* @example
* categories: [{ tag: 'local_news', label: 'Local News' }] // The user will be tagged with local_news but will see "Local News" in the prompt.
*/
categories: {
categories?: {
/** Should identify the action. */
tag: string;

Expand Down Expand Up @@ -299,9 +299,9 @@ export interface IInitObject {

/** Triggers the opt-in. Up to 15 characters. */
acceptButton?: string;

/** Cancels opt-in. Up to 15 characters. */
cancelMessage?: string;
cancelButton?:string;

/** The message of the confirmation prompt displayed after the email and/or phone number is provided. Up to 90 characters. */
confirmMessage?: string;
Expand Down