Skip to content

Commit

Permalink
feat: support napcat _send_group_notice (#50)
Browse files Browse the repository at this point in the history
  • Loading branch information
LingLambda authored Aug 27, 2024
1 parent 86bbcce commit 8aa23a6
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/types.ts
Original file line number Diff line number Diff line change
Expand Up @@ -462,8 +462,8 @@ export interface Internal {
setGroupPortrait(group_id: id, file: string, cache?: boolean): Promise<void>
setGroupPortraitAsync(group_id: id, file: string, cache?: boolean): Promise<void>
getGroupAtAllRemain(group_id: id): Promise<AtAllRemain>
sendGroupNotice(group_id: id, content: string): Promise<void>
sendGroupNoticeAsync(group_id: id, content: string): Promise<void>
sendGroupNotice(group_id: id, content: string, image?: string, pinned?: id, confirm_required?: id): Promise<void>
sendGroupNoticeAsync(group_id: id, content: string, image?: string, pinned?: id, confirm_required?: id): Promise<void>
getGroupNotice(group_id: id): Promise<GroupNotice[]>
delGroupNotice(group_id: id, notice_id: id): Promise<void>

Expand Down Expand Up @@ -644,7 +644,7 @@ Internal.define('set_group_leave', 'group_id', 'is_dismiss')
Internal.define('set_group_special_title', 'group_id', 'user_id', 'special_title', 'duration')
Internal.define('set_group_name', 'group_id', 'group_name')
Internal.define('set_group_portrait', 'group_id', 'file', 'cache')
Internal.define('_send_group_notice', 'group_id', 'content')
Internal.define('_send_group_notice', 'group_id', 'content', 'image', 'pinned', 'confirm_required')
Internal.define('_get_group_notice', 'group_id')
Internal.define('_del_group_notice', 'group_id', 'notice_id')
Internal.define('get_group_at_all_remain', 'group_id')
Expand Down

0 comments on commit 8aa23a6

Please sign in to comment.