larkmeeting_room

package
v3.0.0-beta-8 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Aug 23, 2022 License: MIT Imports: 2 Imported by: 9

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type EventTime

type EventTime struct {
	TimeStamp *int `json:"time_stamp,omitempty"` //
}

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 P1OrganizerV1 struct {
	OpenId string `json:"open_id,omitempty"` // 员工对此应用的唯一标识,同一员工对不同应用的open_id不同
	UserId string `json:"user_id,omitempty"` // 用户在ISV下的唯一标识,申请了"获取用户user ID"权限后才会返回
}

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 (*P1ThirdPartyMeetingRoomChangedV1Handler) Event

func (h *P1ThirdPartyMeetingRoomChangedV1Handler) Event() interface{}

func (*P1ThirdPartyMeetingRoomChangedV1Handler) Handle

func (h *P1ThirdPartyMeetingRoomChangedV1Handler) Handle(ctx context.Context, event interface{}) error

type P2MeetingRoomCreatedV1

type P2MeetingRoomCreatedV1 struct {
	*larkevent.EventV2Base                             // 事件基础数据
	*larkevent.EventReq                                // 请求原生数据
	Event                  *P2MeetingRoomCreatedV1Data `json:"event"` // 事件内容
}

func (*P2MeetingRoomCreatedV1) RawReq

func (m *P2MeetingRoomCreatedV1) RawReq(req *larkevent.EventReq)

type P2MeetingRoomCreatedV1Data

type P2MeetingRoomCreatedV1Data struct {
	RoomName *string `json:"room_name,omitempty"` // 会议室名称
	RoomId   *string `json:"room_id,omitempty"`   // 会议室 ID
}

type P2MeetingRoomCreatedV1Handler

type P2MeetingRoomCreatedV1Handler struct {
	// contains filtered or unexported fields
}

消息处理器定义

func (*P2MeetingRoomCreatedV1Handler) Event

func (h *P2MeetingRoomCreatedV1Handler) Event() interface{}

返回事件的消息体的实例,用于反序列化用

func (*P2MeetingRoomCreatedV1Handler) Handle

func (h *P2MeetingRoomCreatedV1Handler) Handle(ctx context.Context, event interface{}) error

回调开发者注册的handle

type P2MeetingRoomDeletedV1

type P2MeetingRoomDeletedV1 struct {
	*larkevent.EventV2Base                             // 事件基础数据
	*larkevent.EventReq                                // 请求原生数据
	Event                  *P2MeetingRoomDeletedV1Data `json:"event"` // 事件内容
}

func (*P2MeetingRoomDeletedV1) RawReq

func (m *P2MeetingRoomDeletedV1) RawReq(req *larkevent.EventReq)

type P2MeetingRoomDeletedV1Data

type P2MeetingRoomDeletedV1Data struct {
	RoomName *string `json:"room_name,omitempty"` // 会议室名称
	RoomId   *string `json:"room_id,omitempty"`   // 会议室 ID
}

type P2MeetingRoomDeletedV1Handler

type P2MeetingRoomDeletedV1Handler struct {
	// contains filtered or unexported fields
}

消息处理器定义

func (*P2MeetingRoomDeletedV1Handler) Event

func (h *P2MeetingRoomDeletedV1Handler) Event() interface{}

返回事件的消息体的实例,用于反序列化用

func (*P2MeetingRoomDeletedV1Handler) Handle

func (h *P2MeetingRoomDeletedV1Handler) Handle(ctx context.Context, event interface{}) error

回调开发者注册的handle

type P2MeetingRoomStatusChangedV1

type P2MeetingRoomStatusChangedV1 struct {
	*larkevent.EventV2Base                                   // 事件基础数据
	*larkevent.EventReq                                      // 请求原生数据
	Event                  *P2MeetingRoomStatusChangedV1Data `json:"event"` // 事件内容
}

func (*P2MeetingRoomStatusChangedV1) RawReq

func (m *P2MeetingRoomStatusChangedV1) RawReq(req *larkevent.EventReq)

type P2MeetingRoomStatusChangedV1Data

type P2MeetingRoomStatusChangedV1Data struct {
	RoomName *string `json:"room_name,omitempty"` // 会议室名称
	RoomId   *string `json:"room_id,omitempty"`   // 会议室 ID
}

type P2MeetingRoomStatusChangedV1Handler

type P2MeetingRoomStatusChangedV1Handler struct {
	// contains filtered or unexported fields
}

消息处理器定义

func (*P2MeetingRoomStatusChangedV1Handler) Event

func (h *P2MeetingRoomStatusChangedV1Handler) Event() interface{}

返回事件的消息体的实例,用于反序列化用

func (*P2MeetingRoomStatusChangedV1Handler) Handle

func (h *P2MeetingRoomStatusChangedV1Handler) Handle(ctx context.Context, event interface{}) error

回调开发者注册的handle

type P2MeetingRoomUpdatedV1

type P2MeetingRoomUpdatedV1 struct {
	*larkevent.EventV2Base                             // 事件基础数据
	*larkevent.EventReq                                // 请求原生数据
	Event                  *P2MeetingRoomUpdatedV1Data `json:"event"` // 事件内容
}

func (*P2MeetingRoomUpdatedV1) RawReq

func (m *P2MeetingRoomUpdatedV1) RawReq(req *larkevent.EventReq)

type P2MeetingRoomUpdatedV1Data

type P2MeetingRoomUpdatedV1Data struct {
	RoomName *string `json:"room_name,omitempty"` // Meeting room name
	RoomId   *string `json:"room_id,omitempty"`   // Meeting room ID
}

type P2MeetingRoomUpdatedV1Handler

type P2MeetingRoomUpdatedV1Handler struct {
	// contains filtered or unexported fields
}

消息处理器定义

func (*P2MeetingRoomUpdatedV1Handler) Event

func (h *P2MeetingRoomUpdatedV1Handler) Event() interface{}

返回事件的消息体的实例,用于反序列化用

func (*P2MeetingRoomUpdatedV1Handler) Handle

func (h *P2MeetingRoomUpdatedV1Handler) Handle(ctx context.Context, event interface{}) error

回调开发者注册的handle

type UserInfo

type UserInfo struct {
	OpenId *string `json:"open_id,omitempty"` //
	UserId *string `json:"user_id,omitempty"` // 用户在ISV下的唯一标识,申请了"获取用户 user ID"权限后才会返回
}

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"权限后才会返回 示例值:

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL