Documentation ¶
Index ¶
- func CanSendImage()
- func CanSendRecord()
- func CleanCache()
- func DeleteMsg(mid int64)
- func GenAgent(url string, accessToken string)
- func GetCookies(domain string)
- func GetCredentials(domain string)
- func GetCsrfToken()
- func GetForwardMsg(mid int64)
- func GetFriendList()
- func GetGroupHonorInfo(gid int64, _type string)
- func GetGroupInfo(gid int64, noCache bool)
- func GetGroupList()
- func GetGroupMemberInfo(gid int64, uid int64, noCache bool)
- func GetGroupMemberList(gid int64)
- func GetImage(file string)
- func GetLoginInfo()
- func GetMessage(mid int64)
- func GetRecord(file string, outFormat string)
- func GetStatus()
- func GetStrangerInfo(uid int64, noCache bool)
- func GetVersionInfo()
- func PostGroupMessage(receiver int64, msg string)
- func PostPrivateMessage(receiver int64, msg string)
- func SendLike(uid int64, times int64)
- func SetFriendAddRequest(flag string, approve bool, remark string)
- func SetGroupAddRequest(flag string, _type string, approve bool, reason string)
- func SetGroupAdmin(gid, uid int64, enable bool)
- func SetGroupAnonymous(gid int64, enable bool)
- func SetGroupAnonymousBan(gid, duration int64, anonymous entity.AnonymousUser, flag string)
- func SetGroupBan(gid, uid, time int64)
- func SetGroupCard(gid, uid int64, card string)
- func SetGroupKick(gid, uid int64, reject bool)
- func SetGroupLeave(gid int64, dismiss bool)
- func SetGroupName(gid int64, name string)
- func SetGroupSpecialTitle(gid, uid int64, title string, duration int64)
- func SetGroupWholeBan(gid int64, enable bool)
- func SetRestart()
- type Agent
- type MessageTemplate
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CanSendImage ¶
func CanSendImage()
func CanSendRecord ¶
func CanSendRecord()
func CleanCache ¶
func CleanCache()
func GetCookies ¶
func GetCookies(domain string)
func GetCredentials ¶
func GetCredentials(domain string)
func GetCsrfToken ¶
func GetCsrfToken()
func GetForwardMsg ¶
func GetForwardMsg(mid int64)
func GetFriendList ¶
func GetFriendList()
func GetGroupHonorInfo ¶
func GetGroupInfo ¶
func GetGroupList ¶
func GetGroupList()
func GetGroupMemberInfo ¶
func GetGroupMemberList ¶
func GetGroupMemberList(gid int64)
func GetLoginInfo ¶
func GetLoginInfo()
func GetMessage ¶
func GetMessage(mid int64)
func GetStrangerInfo ¶
func GetVersionInfo ¶
func GetVersionInfo()
func PostGroupMessage ¶
func PostPrivateMessage ¶
func SetFriendAddRequest ¶
func SetGroupAddRequest ¶
func SetGroupAdmin ¶
func SetGroupAnonymous ¶
func SetGroupAnonymousBan ¶
func SetGroupAnonymousBan(gid, duration int64, anonymous entity.AnonymousUser, flag string)
func SetGroupBan ¶
func SetGroupBan(gid, uid, time int64)
func SetGroupCard ¶
func SetGroupKick ¶
func SetGroupLeave ¶
func SetGroupName ¶
func SetGroupSpecialTitle ¶
func SetGroupWholeBan ¶
func SetRestart ¶
func SetRestart()
Types ¶
type Agent ¶
func (*Agent) NewPostMessage ¶
func (a *Agent) NewPostMessage(action string, params map[string]interface{}) *MessageTemplate
type MessageTemplate ¶
Click to show internal directories.
Click to hide internal directories.