admin

package
v1.0.2 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: May 30, 2025 License: MIT Imports: 16 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func AddAdminHandler

func AddAdminHandler(ctx context.Context, targetID, quoteID, authorID string, args ...string) (err error)

AddAdminHandler 增加管理员

@param userID
@param userName
@param QuoteID
@param TargetID
@return err PASS

func DeleteAllMessageHandler

func DeleteAllMessageHandler(ctx context.Context, targetID, quoteID, authorID string, args ...string) (err error)

DeleteAllMessageHandler 删除频道内所有消息

@param TargetID
@param QuoteID
@param authorID
@param args
@return err

func Handler

func Handler(ctx context.Context, targetID, quoteID, authorID string, args ...string) (err error)

func ReconnectHandler

func ReconnectHandler(ctx context.Context, targetID, quoteID, authorID string, args ...string) (err error)

ReconnectHandler 重连

@param TargetID
@param QuoteID
@param authorID
@param args
@return err

func RemoveAdminHandler

func RemoveAdminHandler(ctx context.Context, targetID, quoteID, authorID string, args ...string) (err error)

RemoveAdminHandler 删除管理员

@param userID
@param targetUserID
@param QuoteID
@param TargetID
@return err PASS

func RestartHandler

func RestartHandler(ctx context.Context, targetID, quoteID, authorID string, args ...string) (err error)

RestartHandler

@param ctx
@param targetID
@param quoteID
@param authorID
@param args

func ShowAdminHandler

func ShowAdminHandler(ctx context.Context, targetID, quoteID, authorID string, args ...string) (err error)

ShowAdminHandler 显示管理员

@param targetID
@param quoteID
@return err

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL