@adamjessop/tiktok-live-connector
Version:
Node.js module to receive live stream chat events like comments and gifts from TikTok LIVE
11 lines • 621 B
TypeScript
/**
* This ugly function brings the nested protobuf objects to a flat level
* In addition, attributes in "Long" format are converted to strings (e.g. UserIds)
* This makes it easier to handle the data later, since some libraries have problems to serialize this protobuf specific data.
*/
export function simplifyObject(webcastObject: any): any;
export function getEventAttributes(event: any): any;
export function getTopViewerAttributes(topViewers: any): any;
export function mapBadges(badges: any): any[];
export function getPreferredPictureFormat(pictureUrls: any): any;
//# sourceMappingURL=data-converter.d.ts.map