chat

package
v0.0.0-...-73ddb9c Latest Latest
Warning

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

Go to latest
Published: Jun 23, 2021 License: MIT Imports: 12 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func AddGroupChat

func AddGroupChat(c *fiber.Ctx) error

AddGroupChat 创建群聊

func AddMessage

func AddMessage(c *fiber.Ctx) error

AddMessage 添加新消息 api

func AddPrivateChat

func AddPrivateChat(c *fiber.Ctx) error

AddPrivateChat 创建新私聊的 api

func ChangeGroupOwner

func ChangeGroupOwner(c *fiber.Ctx) error

ChangeGroupOwner 禅让群主的 api

func DeleteChat

func DeleteChat(c *fiber.Ctx) error

DeleteChat 删除聊天的 api

func DeleteChatMember

func DeleteChatMember(c *fiber.Ctx) error

DeleteChatMember 删除聊天成员的 api

func GetAllChatMembers

func GetAllChatMembers(c *fiber.Ctx) error

GetAllChatMembers 获得所有聊天成员

func GetAllChats

func GetAllChats(c *fiber.Ctx) error

GetAllChats 获得所有的群聊

func GetAllChatsLatestMessageID

func GetAllChatsLatestMessageID(c *fiber.Ctx) error

GetAllChatsLatestMessageID 获得某个用户所有的聊天的最新消息 id 的 api

func GetLatestMessages

func GetLatestMessages(c *fiber.Ctx) error

GetLatestMessages 获得所有获得某个用户给定某些聊天的最新消息 api

func GetMessage

func GetMessage(c *fiber.Ctx) error

GetMessage 查询一条消息 api

func GetMessages

func GetMessages(c *fiber.Ctx) error

GetMessages 查询一堆消息 api

func GetPrivateChat

func GetPrivateChat(c *fiber.Ctx) error

GetPrivateChat 获得私聊 api

func InviteChatMember

func InviteChatMember(c *fiber.Ctx) error

InviteChatMember 邀请新聊天成员的 api

func ModifyChatMemberAlias

func ModifyChatMemberAlias(c *fiber.Ctx) error

ModifyChatMemberAlias 修改成员备注名

func ModifyChatMemberPerm

func ModifyChatMemberPerm(c *fiber.Ctx) error

ModifyChatMemberPerm 修改成员权限

func ModifyGroupChat

func ModifyGroupChat(c *fiber.Ctx) error

ModifyGroupChat 修改群聊的信息

func WithdrawMessage

func WithdrawMessage(c *fiber.Ctx) error

WithdrawMessage 撤回一条消息 api

Types

This section is empty.

Jump to

Keyboard shortcuts

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