Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type FeishuChatItem ¶
type FeishuChatItem struct {
common.NoPKModel `json:"-"`
ConnectionId uint64 `gorm:"primaryKey"`
ChatId string `json:"chat_id" gorm:"primaryKey"`
Avatar string `json:"avatar"`
Description string `json:"description"`
External bool `json:"external"`
Name string `json:"name"`
OwnerId string `json:"owner_id"`
OwnerIdType string `json:"owner_id_type"`
TenantKey string `json:"tenant_key"`
}
func (FeishuChatItem) TableName ¶
func (FeishuChatItem) TableName() string
type FeishuConn ¶
type FeishuConn struct {
helper.RestConnection `mapstructure:",squash"`
helper.AppKey `mapstructure:",squash"`
}
FeishuConn holds the essential information to connect to the Feishu API
func (*FeishuConn) PrepareApiClient ¶
func (conn *FeishuConn) PrepareApiClient(apiClient plugin.ApiClient) errors.Error
func (*FeishuConn) Sanitize ¶
func (conn *FeishuConn) Sanitize() FeishuConn
type FeishuConnection ¶
type FeishuConnection struct {
helper.BaseConnection `mapstructure:",squash"`
FeishuConn `mapstructure:",squash"`
}
FeishuConnection holds FeishuConn plus ID/Name for database storage
func (*FeishuConnection) MergeFromRequest ¶
func (connection *FeishuConnection) MergeFromRequest(target *FeishuConnection, body map[string]interface{}) error
func (FeishuConnection) Sanitize ¶
func (connection FeishuConnection) Sanitize() FeishuConnection
func (FeishuConnection) TableName ¶
func (FeishuConnection) TableName() string
type FeishuMeetingTopUserItem ¶
type FeishuMeetingTopUserItem struct {
common.NoPKModel `json:"-"`
ConnectionId uint64 `gorm:"primaryKey"`
StartTime time.Time `gorm:"primaryKey"`
Name string `json:"name" gorm:"primaryKey;type:varchar(255)"`
MeetingCount string `json:"meeting_count" gorm:"type:varchar(255)"`
MeetingDuration string `json:"meeting_duration" gorm:"type:varchar(255)"`
UserType int64 `json:"user_type"`
}
func (FeishuMeetingTopUserItem) TableName ¶
func (FeishuMeetingTopUserItem) TableName() string
type FeishuMessage ¶
type FeishuMessage struct {
common.NoPKModel `json:"-"`
ConnectionId uint64 `gorm:"primaryKey"`
MessageId string `json:"message_id" gorm:"primaryKey"`
Content string `json:"content"`
ChatId string `json:"chat_id"`
MsgType string `json:"msg_type"`
ParentId string `json:"parent_id"`
RootId string `json:"root_id"`
SenderId string `json:"id"`
SenderIdType string `json:"id_type"`
SenderType string `json:"sender_type"`
Deleted bool `json:"deleted"`
CreateTime time.Time `json:"create_time"`
UpdateTime time.Time `json:"update_time"`
Updated bool `json:"updated"`
}
func (FeishuMessage) TableName ¶
func (FeishuMessage) TableName() string
Click to show internal directories.
Click to hide internal directories.