0.1.8 • Published 2 years ago

mirrativ-comment-viewer v0.1.8

Weekly downloads
-
License
-
Repository
-
Last release
2 years ago

Mirrativ-Comment-Viewer

This is a comment viewer for Mirrativ

const { Client } = require("mirrativ-comment-viewer");
const client = new Client();
client.on("comment", (msg) => {
  console.log(msg);
});
client.on("gift", (gift) => {
  console.log(gift);
});
client.start("URL");

Types

Client

broadcast_key?: string
live_id?: string
image_url?: string
share_url?: string
description?: string
title?: string
total_viewer_num?: number
started_at?: number
app?: {
  app_id?: string
  app_user_detail?: {
    name: string | null
    url: string | null
    user_id: string | null
  }
  app_user_id_label?: string
  icon_url: string
  store_url: string
  title?: string
}
owner: {
  birthday: string <-※mmdd
  description: string
  name: string
  profile_image_url?: string
  share_url: string
  twitter_screen_name?: string
  user_id: string
}

Gift

userName?: string
giftTitle?: string
coins?: string
count?: string
speech?: string
iconUrl?: string
userId?: string
type: number

Comment

userName?: string
comment?: string
createdAt?: number
iconUrl?: string
speech?: string
userId?: string
type: number
0.1.8

2 years ago

0.1.7

2 years ago

0.1.6

2 years ago

0.1.5

2 years ago

0.1.4

2 years ago

0.1.3

2 years ago

0.1.2

2 years ago

0.1.1

2 years ago

0.1.0

2 years ago