hyperchats

This commit is contained in:
Sean Yesmunt 2021-04-23 15:59:48 -04:00
parent bd62a55608
commit 6d89f0df7e
66 changed files with 1594 additions and 433 deletions

View file

@ -10,6 +10,8 @@ const Comments = {
moderation_block_list: (params: ModerationBlockParams) => fetchCommentsApi('moderation.BlockedList', params),
comment_list: (params: CommentListParams) => fetchCommentsApi('comment.List', params),
comment_abandon: (params: CommentAbandonParams) => fetchCommentsApi('comment.Abandon', params),
comment_create: (params: CommentCreateParams) => fetchCommentsApi('comment.Create', params),
super_list: (params: SuperListParams) => fetchCommentsApi('comment.SuperChatList', params),
};
function fetchCommentsApi(method: string, params: {}) {