forked from aemr3/nativescript-intercom-bridge
-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathintercom-bridge.ios.d.ts
22 lines (22 loc) · 945 Bytes
/
intercom-bridge.ios.d.ts
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
export declare class IntercomBridge {
static init(apiKey: string, appId: string): void;
static registerIdentifiedUser(options: {
userId?: string | number;
email?: string;
}): void;
static registerUnidentifiedUser(): void;
static reset(): void;
static setSecureMode(secureHash: string, secureData: string): void;
static setUserHash(hmac: string): void;
static updateUser(attributes: any): void;
static logEvent(eventName: string, metaData?: any): void;
static displayMessenger(): void;
static displayMessageComposer(): void;
static displayMessageComposerWithInitialMessage(initialMessage: string): void;
static displayConversationsList(): void;
static unreadConversationCount(): any;
static setLauncherVisibility(visible: boolean): void;
static setInAppMessageVisibility(visible: boolean): void;
static hideMessenger(): void;
static enableLogging(): void;
}