@amityco/ts-sdk-react-native
Version:
Amity Social Cloud Typescript SDK
21 lines • 713 B
TypeScript
/**
* Retrieves a pair of {@link Amity.Tokens} necessary for connection
*
* @param param get bot token param
* @param params.deviceId The user's device Id (can be manually set for native users)
* @param options get bot token options
* @param options.setAccessTokenCookie The authentication token - necessary when network option is set to secure
* @return The accessToken for the given userId
*
* @category Client API
* @hidden
*/
export declare const getBotToken: ({ params, options, }: {
params: {
deviceId: string;
};
options?: {
setAccessTokenCookie?: boolean | undefined;
} | undefined;
}) => Promise<Amity.SessionResponse>;
//# sourceMappingURL=getBotToken.d.ts.map