Skip to main content

Check KakaoTalk Channel Relationship

Check KakaoTalk Channel Relationship

Official Documentation

You can check the KakaoTalk channel relationship using the channels function.

export function channels(params: { channelPublicIds?: string[] } = {}): Promise<KakaoChannel[]>
  • channelPublicIds: IDs of the channels to check the relationship. If not provided, it checks all channels.

The types used are as follows:

export interface KakaoChannel {
uuid: string;
encodedId: string;
relation: 'added' | 'none' | 'blocked' | 'unknown';
updatedAt?: number; // unix
}