dataobject

package
v0.87.4 Latest Latest
Warning

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

Go to latest
Published: Sep 16, 2022 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"`
	UserType                         int32  `db:"user_type"`
	AccessHash                       int64  `db:"access_hash"`
	SecretKeyId                      int64  `db:"secret_key_id"`
	FirstName                        string `db:"first_name"`
	LastName                         string `db:"last_name"`
	Username                         string `db:"username"`
	Phone                            string `db:"phone"`
	CountryCode                      string `db:"country_code"`
	Verified                         bool   `db:"verified"`
	Support                          bool   `db:"support"`
	Scam                             bool   `db:"scam"`
	Fake                             bool   `db:"fake"`
	About                            string `db:"about"`
	State                            int32  `db:"state"`
	IsBot                            bool   `db:"is_bot"`
	AccountDaysTtl                   int32  `db:"account_days_ttl"`
	PhotoId                          int64  `db:"photo_id"`
	Restricted                       bool   `db:"restricted"`
	RestrictionReason                string `db:"restriction_reason"`
	ArchiveAndMuteNewNoncontactPeers bool   `db:"archive_and_mute_new_noncontact_peers"`
	Deleted                          bool   `db:"deleted"`
	DeleteReason                     string `db:"delete_reason"`
}

Jump to

Keyboard shortcuts

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