archived

package
v0.0.0-...-7d3b672 Latest Latest
Warning

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

Go to latest
Published: Jul 13, 2023 License: Apache-2.0 Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type FeishuChatItem

type FeishuChatItem struct {
	archived.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 FeishuConnection

type FeishuConnection struct {
	commonArchived.Model
	Name             string `gorm:"type:varchar(100);uniqueIndex" json:"name" validate:"required"`
	Endpoint         string `gorm:"type:varchar(255)"`
	Proxy            string `json:"proxy" gorm:"type:varchar(255)"`
	RateLimitPerHour int    `comment:"api request rate limit per hour"`
	AppId            string `gorm:"type:varchar(255)"`
	SecretKey        string `gorm:"type:varchar(255)"`
}

func (FeishuConnection) TableName

func (FeishuConnection) TableName() string

type FeishuMeetingTopUserItem

type FeishuMeetingTopUserItem struct {
	archived.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 {
	archived.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

Jump to

Keyboard shortcuts

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