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 BotCommandsDO

type BotCommandsDO struct {
	Id          int64  `db:"id"`
	BotId       int64  `db:"bot_id"`
	Command     string `db:"command"`
	Description string `db:"description"`
}

type BotsDO

type BotsDO struct {
	Id                   int64  `db:"id"`
	BotId                int64  `db:"bot_id"`
	BotType              int32  `db:"bot_type"`
	CreatorUserId        int64  `db:"creator_user_id"`
	Token                string `db:"token"`
	Description          string `db:"description"`
	BotChatHistory       bool   `db:"bot_chat_history"`
	BotNochats           bool   `db:"bot_nochats"`
	Verified             bool   `db:"verified"`
	BotInlineGeo         bool   `db:"bot_inline_geo"`
	BotInfoVersion       int32  `db:"bot_info_version"`
	BotInlinePlaceholder string `db:"bot_inline_placeholder"`
}

type ImportedContactsDO

type ImportedContactsDO struct {
	Id             int64 `db:"id"`
	UserId         int64 `db:"user_id"`
	ImportedUserId int64 `db:"imported_user_id"`
	Deleted        bool  `db:"deleted"`
}

type PhoneBooksDO

type PhoneBooksDO struct {
	Id        int64  `db:"id"`
	UserId    int64  `db:"user_id"`
	AuthKeyId int64  `db:"auth_key_id"`
	ClientId  int64  `db:"client_id"`
	Phone     string `db:"phone"`
	FirstName string `db:"first_name"`
	LastName  string `db:"last_name"`
}

type PopularContactsDO

type PopularContactsDO struct {
	Id        int64  `db:"id"`
	Phone     string `db:"phone"`
	Importers int32  `db:"importers"`
	Deleted   bool   `db:"deleted"`
	UpdateAt  string `db:"update_at"`
}

type PredefinedUsersDO

type PredefinedUsersDO struct {
	Id               int64  `db:"id"`
	Phone            string `db:"phone"`
	FirstName        string `db:"first_name"`
	LastName         string `db:"last_name"`
	Username         string `db:"username"`
	Code             string `db:"code"`
	Verified         bool   `db:"verified"`
	RegisteredUserId int64  `db:"registered_user_id"`
	Deleted          bool   `db:"deleted"`
}

type UnregisteredContactsDO

type UnregisteredContactsDO struct {
	Id              int64  `db:"id"`
	Phone           string `db:"phone"`
	ImporterUserId  int64  `db:"importer_user_id"`
	ImportFirstName string `db:"import_first_name"`
	ImportLastName  string `db:"import_last_name"`
	Imported        bool   `db:"imported"`
}

type UserContactsDO

type UserContactsDO struct {
	Id               int64  `db:"id"`
	OwnerUserId      int64  `db:"owner_user_id"`
	ContactUserId    int64  `db:"contact_user_id"`
	ContactPhone     string `db:"contact_phone"`
	ContactFirstName string `db:"contact_first_name"`
	ContactLastName  string `db:"contact_last_name"`
	Mutual           bool   `db:"mutual"`
	IsDeleted        bool   `db:"is_deleted"`
	Date2            int64  `db:"date2"`
}

type UserGlobalPrivacySettingsDO

type UserGlobalPrivacySettingsDO struct {
	Id                               int64 `db:"id"`
	UserId                           int64 `db:"user_id"`
	ArchiveAndMuteNewNoncontactPeers bool  `db:"archive_and_mute_new_noncontact_peers"`
}

type UserNotifySettingsDO

type UserNotifySettingsDO struct {
	Id           int64  `db:"id"`
	UserId       int64  `db:"user_id"`
	PeerType     int32  `db:"peer_type"`
	PeerId       int64  `db:"peer_id"`
	ShowPreviews int32  `db:"show_previews"`
	Silent       int32  `db:"silent"`
	MuteUntil    int32  `db:"mute_until"`
	Sound        string `db:"sound"`
	Deleted      bool   `db:"deleted"`
}

type UserPeerBlocksDO

type UserPeerBlocksDO struct {
	Id       int64 `db:"id"`
	UserId   int64 `db:"user_id"`
	PeerType int32 `db:"peer_type"`
	PeerId   int64 `db:"peer_id"`
	Date     int64 `db:"date"`
	Deleted  bool  `db:"deleted"`
}

type UserPeerSettingsDO

type UserPeerSettingsDO struct {
	Id                    int64 `db:"id"`
	UserId                int64 `db:"user_id"`
	PeerType              int32 `db:"peer_type"`
	PeerId                int64 `db:"peer_id"`
	Hide                  bool  `db:"hide"`
	ReportSpam            bool  `db:"report_spam"`
	AddContact            bool  `db:"add_contact"`
	BlockContact          bool  `db:"block_contact"`
	ShareContact          bool  `db:"share_contact"`
	NeedContactsException bool  `db:"need_contacts_exception"`
	ReportGeo             bool  `db:"report_geo"`
	Autoarchived          bool  `db:"autoarchived"`
	InviteMembers         bool  `db:"invite_members"`
	GeoDistance           int32 `db:"geo_distance"`
}

type UserPresencesDO

type UserPresencesDO struct {
	Id         int64 `db:"id"`
	UserId     int64 `db:"user_id"`
	LastSeenAt int64 `db:"last_seen_at"`
	Expires    int32 `db:"expires"`
}

type UserPrivaciesDO

type UserPrivaciesDO struct {
	Id      int64  `db:"id"`
	UserId  int64  `db:"user_id"`
	KeyType int32  `db:"key_type"`
	Rules   string `db:"rules"`
}

type UserProfilePhotosDO

type UserProfilePhotosDO struct {
	Id      int64 `db:"id"`
	UserId  int64 `db:"user_id"`
	PhotoId int64 `db:"photo_id"`
	Date2   int64 `db:"date2"`
	Deleted bool  `db:"deleted"`
}

type UserSettingsDO

type UserSettingsDO struct {
	Id      int64  `db:"id"`
	UserId  int64  `db:"user_id"`
	Key2    string `db:"key2"`
	Value   string `db:"value"`
	Deleted bool   `db:"deleted"`
}

type UsersDO

type UsersDO struct {
	Id                               int64  `db:"id" json:"id"`
	UserType                         int32  `db:"user_type" json:"user_type"`
	AccessHash                       int64  `db:"access_hash" json:"access_hash"`
	SecretKeyId                      int64  `db:"secret_key_id" json:"secret_key_id"`
	FirstName                        string `db:"first_name" json:"first_name"`
	LastName                         string `db:"last_name" json:"last_name"`
	Username                         string `db:"username" json:"username"`
	Phone                            string `db:"phone" json:"phone"`
	CountryCode                      string `db:"country_code" json:"country_code"`
	Verified                         bool   `db:"verified" json:"verified"`
	Support                          bool   `db:"support" json:"support"`
	Scam                             bool   `db:"scam" json:"scam"`
	Fake                             bool   `db:"fake" json:"fake"`
	Premium                          bool   `db:"premium" json:"premium"`
	About                            string `db:"about" json:"about"`
	State                            int32  `db:"state" json:"state"`
	IsBot                            bool   `db:"is_bot" json:"is_bot"`
	AccountDaysTtl                   int32  `db:"account_days_ttl" json:"account_days_ttl"`
	PhotoId                          int64  `db:"photo_id" json:"photo_id"`
	Restricted                       bool   `db:"restricted" json:"restricted"`
	RestrictionReason                string `db:"restriction_reason" json:"restriction_reason"`
	ArchiveAndMuteNewNoncontactPeers bool   `db:"archive_and_mute_new_noncontact_peers" json:"archive_and_mute_new_noncontact_peers"`
	EmojiStatusDocumentId            int64  `db:"emoji_status_document_id" json:"emoji_status_document_id"`
	EmojiStatusUntil                 int32  `db:"emoji_status_until" json:"emoji_status_until"`
	Deleted                          bool   `db:"deleted" json:"deleted"`
	DeleteReason                     string `db:"delete_reason" json:"delete_reason"`
}

Jump to

Keyboard shortcuts

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