UNPKG

@react-native-kakao/channel

Version:

React Native Kakao Channel SDK

25 lines 1.31 kB
import type { KakaoChannel } from './spec/NativeKakaoChannel'; export type { KakaoChannel } from './spec/NativeKakaoChannel'; export declare function followChannel(channelPublicId: string): Promise<boolean>; export declare function addChannel(channelPublicId: string): Promise<void>; export declare function getAddChannelUrl(channelPublicId: string): Promise<string>; export declare function openAddChannelUrl(channelPublicId: string): Promise<string>; export declare function chatChannel(channelPublicId: string): Promise<void>; export declare function getChatChannelUrl(channelPublicId: string): Promise<string>; export declare function openChatChannelUrl(channelPublicId: string): Promise<string>; export declare function channels({ channelPublicIds }?: { channelPublicIds?: string[]; }): Promise<KakaoChannel[]>; declare const KakaoChannel: { followChannel: typeof followChannel; addChannel: typeof addChannel; getAddChannelUrl: typeof getAddChannelUrl; openAddChannelUrl: typeof openAddChannelUrl; chatChannel: typeof chatChannel; getChatChannelUrl: typeof getChatChannelUrl; openChatChannelUrl: typeof openChatChannelUrl; channels: typeof channels; }; export default KakaoChannel; export type KakaoChannelAPI = typeof KakaoChannel; //# sourceMappingURL=index.d.ts.map