larkmeeting_room

package
v3.0.31 Latest Latest
Warning

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

Go to latest
Published: Oct 24, 2023 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 DepartmentId added in v3.0.29

type DepartmentId struct {
	DepartmentId     *string `json:"department_id,omitempty"`      //
	OpenDepartmentId *string `json:"open_department_id,omitempty"` //
}

type DepartmentIdBuilder added in v3.0.29

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

func NewDepartmentIdBuilder added in v3.0.29

func NewDepartmentIdBuilder() *DepartmentIdBuilder

func (*DepartmentIdBuilder) Build added in v3.0.29

func (builder *DepartmentIdBuilder) Build() *DepartmentId

func (*DepartmentIdBuilder) DepartmentId added in v3.0.29

func (builder *DepartmentIdBuilder) DepartmentId(departmentId string) *DepartmentIdBuilder

示例值:

func (*DepartmentIdBuilder) OpenDepartmentId added in v3.0.29

func (builder *DepartmentIdBuilder) OpenDepartmentId(openDepartmentId string) *DepartmentIdBuilder

示例值:

type EventInfo added in v3.0.15

type EventInfo struct {
	Uid          *string  `json:"uid,omitempty"`           // 日程唯一ID
	OriginalTime *int     `json:"original_time,omitempty"` // 日程实例原始时间。非重复性日程和重复性日程,此处传0;重复性日程的例外,传对应的original_time
	Summary      *string  `json:"summary,omitempty"`       // 日程主题
	Vchat        []*Vchat `json:"vchat,omitempty"`         // 视频会议信息
}

type EventInfoBuilder added in v3.0.15

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

func NewEventInfoBuilder added in v3.0.15

func NewEventInfoBuilder() *EventInfoBuilder

func (*EventInfoBuilder) Build added in v3.0.15

func (builder *EventInfoBuilder) Build() *EventInfo

func (*EventInfoBuilder) OriginalTime added in v3.0.15

func (builder *EventInfoBuilder) OriginalTime(originalTime int) *EventInfoBuilder

日程实例原始时间。非重复性日程和重复性日程,此处传0;重复性日程的例外,传对应的original_time

示例值:0

func (*EventInfoBuilder) Summary added in v3.0.15

func (builder *EventInfoBuilder) Summary(summary string) *EventInfoBuilder

日程主题

示例值:test

func (*EventInfoBuilder) Uid added in v3.0.15

func (builder *EventInfoBuilder) Uid(uid string) *EventInfoBuilder

日程唯一ID

示例值:a04dbea1-86b9-4372-aa8d-64ebe801be2a

func (*EventInfoBuilder) Vchat added in v3.0.15

func (builder *EventInfoBuilder) Vchat(vchat []*Vchat) *EventInfoBuilder

视频会议信息

示例值:

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 EventUid added in v3.0.15

type EventUid struct {
	Uid          *string `json:"uid,omitempty"`           // 日程唯一ID
	OriginalTime *int    `json:"original_time,omitempty"` // original_time
}

type EventUidBuilder added in v3.0.15

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

func NewEventUidBuilder added in v3.0.15

func NewEventUidBuilder() *EventUidBuilder

func (*EventUidBuilder) Build added in v3.0.15

func (builder *EventUidBuilder) Build() *EventUid

func (*EventUidBuilder) OriginalTime added in v3.0.15

func (builder *EventUidBuilder) OriginalTime(originalTime int) *EventUidBuilder

original_time

示例值:0

func (*EventUidBuilder) Uid added in v3.0.15

func (builder *EventUidBuilder) Uid(uid string) *EventUidBuilder

日程唯一ID

示例值:a04dbea1-86b9-4372-aa8d-64ebe801be2a

type EventUids added in v3.0.15

type EventUids struct {
	EventUids []*EventUid `json:"EventUids,omitempty"` // EventUids
}

type EventUidsBuilder added in v3.0.15

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

func NewEventUidsBuilder added in v3.0.15

func NewEventUidsBuilder() *EventUidsBuilder

func (*EventUidsBuilder) Build added in v3.0.15

func (builder *EventUidsBuilder) Build() *EventUids

func (*EventUidsBuilder) EventUids added in v3.0.15

func (builder *EventUidsBuilder) EventUids(eventUids []*EventUid) *EventUidsBuilder

EventUids

示例值:

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"`   //
}

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"`   //
}

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"` //
	RoomId   *string `json:"room_id,omitempty"`   //
}

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

示例值:

type Vchat added in v3.0.15

type Vchat struct {
	MeetingUrl *string `json:"meeting_url,omitempty"` // 视频会议链接
	VcType     *string `json:"vc_type,omitempty"`     // 视频会议类型
}

type VchatBuilder added in v3.0.15

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

func NewVchatBuilder added in v3.0.15

func NewVchatBuilder() *VchatBuilder

func (*VchatBuilder) Build added in v3.0.15

func (builder *VchatBuilder) Build() *Vchat

func (*VchatBuilder) MeetingUrl added in v3.0.15

func (builder *VchatBuilder) MeetingUrl(meetingUrl string) *VchatBuilder

视频会议链接

示例值:https://vc.feishu.cn/j/935314044

func (*VchatBuilder) VcType added in v3.0.15

func (builder *VchatBuilder) VcType(vcType string) *VchatBuilder

视频会议类型

示例值:vc

Jump to

Keyboard shortcuts

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