Documentation ¶
Index ¶
- type EventTime
- type EventTimeBuilder
- type MeetingRoom
- type MeetingRoomBuilder
- type P1EventTimeV1
- type P1MeetingRoomV1
- type P1OrganizerV1
- type P1ThirdPartyMeetingRoomChangedV1
- type P1ThirdPartyMeetingRoomChangedV1Data
- type P1ThirdPartyMeetingRoomChangedV1Handler
- type P2MeetingRoomCreatedV1
- type P2MeetingRoomCreatedV1Data
- type P2MeetingRoomCreatedV1Handler
- type P2MeetingRoomDeletedV1
- type P2MeetingRoomDeletedV1Data
- type P2MeetingRoomDeletedV1Handler
- type P2MeetingRoomStatusChangedV1
- type P2MeetingRoomStatusChangedV1Data
- type P2MeetingRoomStatusChangedV1Handler
- type P2MeetingRoomUpdatedV1
- type P2MeetingRoomUpdatedV1Data
- type P2MeetingRoomUpdatedV1Handler
- type UserInfo
- type UserInfoBuilder
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type EventTimeBuilder ¶
type EventTimeBuilder struct {
// contains filtered or unexported fields
}
func NewEventTimeBuilder ¶
func NewEventTimeBuilder() *EventTimeBuilder
func (*EventTimeBuilder) Build ¶
func (builder *EventTimeBuilder) Build() *EventTime
func (*EventTimeBuilder) TimeStamp ¶
func (builder *EventTimeBuilder) TimeStamp(timeStamp int) *EventTimeBuilder
示例值:
type MeetingRoom ¶
type MeetingRoom struct {
RoomId *int `json:"room_id,omitempty"` // your description here
}
type MeetingRoomBuilder ¶
type MeetingRoomBuilder struct {
// contains filtered or unexported fields
}
func NewMeetingRoomBuilder ¶
func NewMeetingRoomBuilder() *MeetingRoomBuilder
func (*MeetingRoomBuilder) Build ¶
func (builder *MeetingRoomBuilder) Build() *MeetingRoom
func (*MeetingRoomBuilder) RoomId ¶
func (builder *MeetingRoomBuilder) RoomId(roomId int) *MeetingRoomBuilder
your description here
示例值:
type P1EventTimeV1 ¶
type P1EventTimeV1 struct {
TimeStamp string `json:"time_stamp,omitempty"` // 时间
}
type P1MeetingRoomV1 ¶
type P1MeetingRoomV1 struct {
OpenId string `json:"open_id,omitempty"` // 员工对此应用的唯一标识,同一员工对不同应用的open_id不同
}
type P1OrganizerV1 ¶
type P1ThirdPartyMeetingRoomChangedV1 ¶
type P1ThirdPartyMeetingRoomChangedV1 struct { *larkevent.EventReq *larkevent.EventBase Event *P1ThirdPartyMeetingRoomChangedV1Data `json:"event"` }
func (*P1ThirdPartyMeetingRoomChangedV1) RawReq ¶
func (m *P1ThirdPartyMeetingRoomChangedV1) RawReq(req *larkevent.EventReq)
type P1ThirdPartyMeetingRoomChangedV1Data ¶
type P1ThirdPartyMeetingRoomChangedV1Data struct { AppID string `json:"app_id,omitempty"` // App ID TenantKey string `json:"tenant_key,omitempty"` // 企业标识 Type string `json:"type,omitempty"` // 此事件此处始终为event_callback EventTime string `json:"event_time,omitempty"` //事件发生时间 Uid string `json:"uid,omitempty"` // 日程的唯一标识 OriginalTime int `json:"original_time,omitempty"` // 重复日程的例外的唯一标识,如果不是重复的日程,此处为0 Start *P1EventTimeV1 `json:"start,omitempty"` //日历的日程开始时间 End *P1EventTimeV1 `json:"end,omitempty"` //日历的日程结束时间 MeetingRoom []*P1MeetingRoomV1 `json:"meeting_rooms,omitempty"` //日程关联的会议室 Organizer *P1OrganizerV1 `json:"organizer,omitempty"` //日程的组织者 }
type P1ThirdPartyMeetingRoomChangedV1Handler ¶
type P1ThirdPartyMeetingRoomChangedV1Handler struct {
// contains filtered or unexported fields
}
func NewP1ThirdPartyMeetingRoomChangedV1Handler ¶
func NewP1ThirdPartyMeetingRoomChangedV1Handler(handler func(context.Context, *P1ThirdPartyMeetingRoomChangedV1) error) *P1ThirdPartyMeetingRoomChangedV1Handler
func (*P1ThirdPartyMeetingRoomChangedV1Handler) Event ¶
func (h *P1ThirdPartyMeetingRoomChangedV1Handler) Event() interface{}
type P2MeetingRoomCreatedV1 ¶
type P2MeetingRoomCreatedV1 struct { *larkevent.EventV2Base // 事件基础数据 *larkevent.EventReq // 请求原生数据 Event *P2MeetingRoomCreatedV1Data `json:"event"` // 事件内容 }
func (*P2MeetingRoomCreatedV1) RawReq ¶
func (m *P2MeetingRoomCreatedV1) RawReq(req *larkevent.EventReq)
type P2MeetingRoomCreatedV1Handler ¶
type P2MeetingRoomCreatedV1Handler struct {
// contains filtered or unexported fields
}
消息处理器定义
func NewP2MeetingRoomCreatedV1Handler ¶
func NewP2MeetingRoomCreatedV1Handler(handler func(context.Context, *P2MeetingRoomCreatedV1) error) *P2MeetingRoomCreatedV1Handler
func (*P2MeetingRoomCreatedV1Handler) Event ¶
func (h *P2MeetingRoomCreatedV1Handler) Event() interface{}
返回事件的消息体的实例,用于反序列化用
type P2MeetingRoomDeletedV1 ¶
type P2MeetingRoomDeletedV1 struct { *larkevent.EventV2Base // 事件基础数据 *larkevent.EventReq // 请求原生数据 Event *P2MeetingRoomDeletedV1Data `json:"event"` // 事件内容 }
func (*P2MeetingRoomDeletedV1) RawReq ¶
func (m *P2MeetingRoomDeletedV1) RawReq(req *larkevent.EventReq)
type P2MeetingRoomDeletedV1Handler ¶
type P2MeetingRoomDeletedV1Handler struct {
// contains filtered or unexported fields
}
消息处理器定义
func NewP2MeetingRoomDeletedV1Handler ¶
func NewP2MeetingRoomDeletedV1Handler(handler func(context.Context, *P2MeetingRoomDeletedV1) error) *P2MeetingRoomDeletedV1Handler
func (*P2MeetingRoomDeletedV1Handler) Event ¶
func (h *P2MeetingRoomDeletedV1Handler) Event() interface{}
返回事件的消息体的实例,用于反序列化用
type P2MeetingRoomStatusChangedV1 ¶
type P2MeetingRoomStatusChangedV1 struct { *larkevent.EventV2Base // 事件基础数据 *larkevent.EventReq // 请求原生数据 Event *P2MeetingRoomStatusChangedV1Data `json:"event"` // 事件内容 }
func (*P2MeetingRoomStatusChangedV1) RawReq ¶
func (m *P2MeetingRoomStatusChangedV1) RawReq(req *larkevent.EventReq)
type P2MeetingRoomStatusChangedV1Handler ¶
type P2MeetingRoomStatusChangedV1Handler struct {
// contains filtered or unexported fields
}
消息处理器定义
func NewP2MeetingRoomStatusChangedV1Handler ¶
func NewP2MeetingRoomStatusChangedV1Handler(handler func(context.Context, *P2MeetingRoomStatusChangedV1) error) *P2MeetingRoomStatusChangedV1Handler
func (*P2MeetingRoomStatusChangedV1Handler) Event ¶
func (h *P2MeetingRoomStatusChangedV1Handler) Event() interface{}
返回事件的消息体的实例,用于反序列化用
type P2MeetingRoomUpdatedV1 ¶
type P2MeetingRoomUpdatedV1 struct { *larkevent.EventV2Base // 事件基础数据 *larkevent.EventReq // 请求原生数据 Event *P2MeetingRoomUpdatedV1Data `json:"event"` // 事件内容 }
func (*P2MeetingRoomUpdatedV1) RawReq ¶
func (m *P2MeetingRoomUpdatedV1) RawReq(req *larkevent.EventReq)
type P2MeetingRoomUpdatedV1Handler ¶
type P2MeetingRoomUpdatedV1Handler struct {
// contains filtered or unexported fields
}
消息处理器定义
func NewP2MeetingRoomUpdatedV1Handler ¶
func NewP2MeetingRoomUpdatedV1Handler(handler func(context.Context, *P2MeetingRoomUpdatedV1) error) *P2MeetingRoomUpdatedV1Handler
func (*P2MeetingRoomUpdatedV1Handler) Event ¶
func (h *P2MeetingRoomUpdatedV1Handler) Event() interface{}
返回事件的消息体的实例,用于反序列化用
type UserInfoBuilder ¶
type UserInfoBuilder struct {
// contains filtered or unexported fields
}
func NewUserInfoBuilder ¶
func NewUserInfoBuilder() *UserInfoBuilder
func (*UserInfoBuilder) Build ¶
func (builder *UserInfoBuilder) Build() *UserInfo
func (*UserInfoBuilder) OpenId ¶
func (builder *UserInfoBuilder) OpenId(openId string) *UserInfoBuilder
示例值:
func (*UserInfoBuilder) UserId ¶
func (builder *UserInfoBuilder) UserId(userId string) *UserInfoBuilder
用户在ISV下的唯一标识,申请了"获取用户 user ID"权限后才会返回
示例值:
Click to show internal directories.
Click to hide internal directories.