Documentation
¶
Index ¶
- func AccountLogin(accessToken, address string, accountID int64) func()
- func Application(accountID int64) func()
- func CreateNotify(accessToken string, accountID, relationID int64, msgContent string, ...) func()
- func DeleteRelation(accessToken string, accountID, relationID int64) func()
- func DissolveGroup(accessToken string, relationID int64) func()
- func InviteAccount(accessToken string, relationID int64, accountID int64) func()
- func PublishMsg(accessToken string, msgInfo reply.MsgInfo, rlyMsg *reply.RlyMsg) func()
- func QuitGroup(accessToken string, relationID int64, accountID int64) func()
- func ReadMsg(accessToken string, readerID int64, msgMap map[int64][]int64, ...) func()
- func TransferGroup(accessToken string, accountID, relationID int64) func()
- func UpdateAccount(accessToken string, accountID int64, name, gender, signature string) func()
- func UpdateEmail(accessToken string, userID int64, email string) func()
- func UpdateMsgState(accessToken string, relationID, msgID int64, msgType server.MsgType, ...) func()
- func UpdateNickName(accessToken string, accountID, relationID int64, nickName string) func()
- func UpdateNotify(accessToken string, accountID, relationID int64, msgContent string, ...) func()
- func UpdateSettingState(accessToken string, settingType server.SettingType, accountID int64, ...) func()
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func AccountLogin ¶
func Application ¶
func Application(accountID int64) func()
func CreateNotify ¶
func DeleteRelation ¶
DeleteRelation 删除关系的通知
func DissolveGroup ¶
func InviteAccount ¶
func PublishMsg ¶
PublishMsg 推送消息事件和执行拓展内容 参数: 消息和回复消息
func ReadMsg ¶
func ReadMsg(accessToken string, readerID int64, msgMap map[int64][]int64, allMsgIDs []int64) func()
ReadMsg 推送阅读消息事件 参数: 读者ID,消息Map(accountID:[]msgID),所有msgIDs
func TransferGroup ¶
func UpdateAccount ¶
UpdateAccount 更新账号信息通知 参数: 账号ID,更新后的账号信息
func UpdateEmail ¶
UpdateEmail 更新邮箱通知用户的每个账号
func UpdateMsgState ¶
func UpdateNickName ¶
UpdateNickName 更新昵称的通知
func UpdateNotify ¶
func UpdateSettingState ¶
func UpdateSettingState(accessToken string, settingType server.SettingType, accountID int64, relationID int64, state bool) func()
UpdateSettingState 更新relation状态的通知
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.