dataobject

package
v0.96.0 Latest Latest
Warning

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

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

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type DocumentsDO

type DocumentsDO struct {
	Id               int64  `db:"id"`
	DocumentId       int64  `db:"document_id"`
	AccessHash       int64  `db:"access_hash"`
	DcId             int32  `db:"dc_id"`
	FilePath         string `db:"file_path"`
	FileSize         int64  `db:"file_size"`
	UploadedFileName string `db:"uploaded_file_name"`
	Ext              string `db:"ext"`
	MimeType         string `db:"mime_type"`
	ThumbId          int64  `db:"thumb_id"`
	VideoThumbId     int64  `db:"video_thumb_id"`
	Version          int32  `db:"version"`
	Attributes       string `db:"attributes"`
	Date2            int64  `db:"date2"`
}

type PhotoSizesDO

type PhotoSizesDO struct {
	Id            int64  `db:"id"`
	PhotoSizeId   int64  `db:"photo_size_id"`
	SizeType      string `db:"size_type"`
	VolumeId      int64  `db:"volume_id"`
	LocalId       int32  `db:"local_id"`
	Secret        int64  `db:"secret"`
	Width         int32  `db:"width"`
	Height        int32  `db:"height"`
	FileSize      int32  `db:"file_size"`
	FilePath      string `db:"file_path"`
	HasStripped   bool   `db:"has_stripped"`
	StrippedBytes string `db:"stripped_bytes"`
	CachedType    int32  `db:"cached_type"`
	CachedBytes   string `db:"cached_bytes"`
}

type PhotosDO

type PhotosDO struct {
	Id            int64  `db:"id"`
	PhotoId       int64  `db:"photo_id"`
	AccessHash    int64  `db:"access_hash"`
	HasStickers   bool   `db:"has_stickers"`
	DcId          int32  `db:"dc_id"`
	Date2         int64  `db:"date2"`
	HasVideo      bool   `db:"has_video"`
	SizeId        int64  `db:"size_id"`
	VideoSizeId   int64  `db:"video_size_id"`
	InputFileName string `db:"input_file_name"`
	Ext           string `db:"ext"`
}

type VideoSizesDO

type VideoSizesDO struct {
	Id           int64   `db:"id"`
	VideoSizeId  int64   `db:"video_size_id"`
	SizeType     string  `db:"size_type"`
	VolumeId     int64   `db:"volume_id"`
	LocalId      int32   `db:"local_id"`
	Secret       int64   `db:"secret"`
	Width        int32   `db:"width"`
	Height       int32   `db:"height"`
	FileSize     int32   `db:"file_size"`
	VideoStartTs float64 `db:"video_start_ts"`
	FilePath     string  `db:"file_path"`
}

Jump to

Keyboard shortcuts

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