Documentation ¶
Index ¶
Constants ¶
View Source
const UserMyself = 0
自己的uid 用于不填的默认行为
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type DeletePostOptions ¶
type DeletePostOptions struct {
Reason DeleteReason
}
type DeleteReason ¶
type DeleteReason uint8
const ( // 默认 无原因 向后兼容 NoReason DeleteReason = 0 // 包含引战/人身攻击/挂人/攻击他人作品行为 AttackOthers DeleteReason = 1 // 复制粘贴跟风刷屏行为 SPAMorFlood DeleteReason = 2 UnauthorizedRepublish DeleteReason = 3 // 包含交易、账号转送、广告内容 AccountTrade DeleteReason = 4 // 包含其他游戏、社区平台、App相关内容及链接等引流行为 OuterLink DeleteReason = 5 UnrelatedContent DeleteReason = 6 // 包含未证实/虚假信息 FakeNewsOrReveals DeleteReason = 7 // 包含违反游戏用户协议内容 GameRuleViolation DeleteReason = 8 // 违反社区用户服务协议 ForumRuleViolation DeleteReason = 9 // 包含违反国家法律法规政策的内容 LawViolation DeleteReason = 10 // 包含违反公序良俗的内容 MoralityViolation DeleteReason = 11 )
func GuessDeleteReason ¶
func GuessDeleteReason(s string) (ret DeleteReason)
type DeleteReplyOptions ¶
type DeleteReplyOptions struct {
ReplyID int
}
type ForumSilence ¶
type GetPostOptions ¶
type GetPostOptions struct { }
type ListReplyOptions ¶
type MovePostOptions ¶
type RemoveTopicOptions ¶
type RemoveTopicOptions struct {
Remove []Topic
}
type SilenceUserOptions ¶
type SilenceUserOptions struct { // 全米游社禁言时间 Global time.Duration // 单版块禁言 SilenceForum []ForumSilence }
type UnSilenceUserOptions ¶
type UserInfoGetOptions ¶
type UserInfoGetOptions struct { }
Click to show internal directories.
Click to hide internal directories.