Versions in this module Expand all Collapse all v3 v3.0.3 Oct 18, 2022 v3.0.2 Oct 17, 2022 v3.0.1 Oct 17, 2022 v3.0.0 Oct 17, 2022 Changes in this version + type AccessToken struct + Created int64 + Expires int16 + Token string + func (token *AccessToken) CreatedAt() int64 + func (token *AccessToken) ExpiresIn() int16 + type AiResponse struct + Result string + type ChatDetail struct + ChatBannedType int + ConversationTag int + Icon string + Id string + ManagementType int + MentionAllAuthority int + Name string + Owner string + Searchable int + ShowHistory int + Status int + UserIds []string + Validation int + type ChatSetResponse struct + RequestId string + Success bool + type CreateChat struct + ChatBannedType int + ManagementType int + MentionAllAuthority int + Name string + Owner string + Searchable int + ShowHistory int + UserIds []string + Validation int + func (u CreateChat) Validate(valid *validator.Validate, trans translator.Translator) error + type CreateChatResponse struct + ChatId string + ConversationTag int + OpenConversationId string + type CreateDetailDeptRequest interface + JoinDeptManagerUserIds func() + JoinDeptPermits func() + JoinOuterPermitDepts func() + JoinOuterPermitUsers func() + JoinUserPermits func() + type CreateRoleGroupResponse struct + GroupId int + type CreateRoleResponse struct + RoleId int + type Dept struct + AutoAddUser bool + CreateDeptGroup bool + DeptGroupChatId string + DeptManagerUserIds []string + DeptPermits []int + Extension string + GroupContainSubDept bool + Hide bool + Id int + Name string + Order int + OrgDeptOwner string + OuterDept bool + OuterDeptOnlySelf bool + OuterPermitDepts []int + OuterPermitUsers []string + ParentBalanceFirst bool + ParentId int + ShareBalance bool + SourceIdentifier string + StrDeptManagerUserIds string + StrDeptPermits string + StrOuterPermitDepts string + StrOuterPermitUsers string + StrUserPermits string + UserPermits []string + func (d *Dept) JoinDeptManagerUserIds() + func (d *Dept) JoinDeptPermits() + func (d *Dept) JoinOuterPermitDepts() + func (d *Dept) JoinOuterPermitUsers() + func (d *Dept) JoinUserPermits() + func (d Dept) Validate(valid *validator.Validate, trans translator.Translator) error + type DeptCreateResponse struct + DeptId int + type DeptDetail struct + AutoAddUser bool + CreateDeptGroup bool + DeptGroupChatId string + DeptManagerUseridList string + DeptPermits string + Extension string + GroupContainSubDept bool + Hide bool + Id int + Name string + Order int + OrgDeptOwner string + OuterDept bool + OuterDeptOnlySelf bool + OuterPermitDepts string + OuterPermitUsers string + ParentBalanceFirst bool + ParentId int + ShareBalance bool + SourceIdentifier string + UserPermits string + type DeptUserIdsResponse struct + UserIds []string + type GetChatInfoResponse struct + ChatInfo ChatDetail + type GetChatMsgReadResponse struct + NextCursor int + UserIds []string + type GetDeptUserDetailResponse struct + More bool + UserList []UserDetail + type GetParentIdsByDeptIdResponse struct + ParentIds []int + type GetParentIdsByUserIdResponse struct + ParentIds [][]int + type GetSubDeptIdsResponse struct + SubDeptIds []int + type GetSubDeptResponse struct + Depts []DeptDetail + type InactiveUser struct + More bool + UserIds []string + type InactiveUserResponse struct + InactiveUser InactiveUser + type MicroApp struct + AgentId int + Desc string + HomepageLink string + Icon string + Name string + OmpLink string + PcHomepageLink string + Self bool + Status int + type OcrStructuredResponse struct + Result OcrStructuredResult + type OcrStructuredResult struct + Angle int + Data string + Height int + OriginalHeight int + OriginalWidth int + Width int + type OrgAdminList struct + Level int + UserId string + type OrgAdminScopeResponse struct + Depts []int + type OrgAdminUserResponse struct + Admins []OrgAdminList + type OrgUserCountResponse struct + Count int + type Request interface + Validate func(valid *validator.Validate, trans translator.Translator) error + type Response struct + Code int + Msg string + RequestId string + Success bool + func (res *Response) CheckError() (err error) + type RoleDetailResponse struct + Role roleDetail + type RoleGroupResponse struct + Result openRoleGroup + type RoleListResponse struct + RoleGroup roleListResult + type RoleUserListResponse struct + Result roleUserListResult + type UpdateChat struct + AddExtIds []string + AddUserIds []string + ChatBannedType int + DelExtIds []string + DelUserIds []string + Icon string + Id string + ManagementType int + MentionAllAuthority int + Name string + Owner string + OwnerType string + Searchable int + ShowHistory int + Validation int + func (u UpdateChat) Validate(valid *validator.Validate, trans translator.Translator) error + type User struct + Active bool + Admin bool + Authed bool + Avatar string + Boss bool + Department []int + Email string + Extattr string + Hide bool + HiredDate int + Id string + JobNumber string + Lang string + LeaderInDepts string + ManagerUserId string + Mobile string + Name string + OpenId string + OrderInDepts string + OrgEmail string + Position string + PositionInDepts string + Remark string + Roles []UserRoles + Senior bool + StateCode string + Tel string + UnionId string + WorkPlace string + func (u User) Validate(valid *validator.Validate, trans translator.Translator) error + type UserDetail struct + Active bool + Admin bool + Authed bool + Avatar string + Boss bool + Department []int + Email string + Extattr interface{} + Hide bool + HiredDate int + Id string + JobNumber string + Lang string + LeaderInDepts string + ManagerUserId string + Mobile string + Name string + OpenId string + OrderInDepts string + OrgEmail string + Position string + PositionInDepts string + Remark string + Roles []UserRoles + Senior bool + StateCode string + Tel string + UnionId string + WorkPlace string + type UserGetByCode struct + Admin bool + AssociatedUnionId string + DeviceId string + Level int + Name string + UnionId string + UserId string + type UserGetByCodeResponse struct + type UserIdResponse struct + ContactType int + UserId string + type UserRoles struct + Group string + Id int + Name string