dataobject

package
v0.0.0-...-d9af017 Latest Latest
Warning

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

Go to latest
Published: Dec 3, 2017 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 AppsDO

type AppsDO struct {
	Id        int32  `db:"id"`
	ApiId     int32  `db:"api_id"`
	ApiHash   string `db:"api_hash"`
	Title     string `db:"title"`
	ShortName string `db:"short_name"`
	CreatedAt string `db:"created_at"`
	DeletedAt string `db:"deleted_at"`
}

type AuthKeysDO

type AuthKeysDO struct {
	Id        int32  `db:"id"`
	AuthId    int64  `db:"auth_id"`
	Body      string `db:"body"`
	CreatedAt string `db:"created_at"`
	DeletedAt string `db:"deleted_at"`
}

type AuthPhoneTransactionsDO

type AuthPhoneTransactionsDO struct {
	Id              int32  `db:"id"`
	TransactionHash string `db:"transaction_hash"`
	ApiId           int32  `db:"api_id"`
	ApiHash         string `db:"api_hash"`
	PhoneNumber     string `db:"phone_number"`
	Code            string `db:"code"`
	Attempts        int32  `db:"attempts"`
	CreatedAt       string `db:"created_at"`
	UpdatedAt       string `db:"updated_at"`
	IsDeleted       int8   `db:"is_deleted"`
}

type AuthSaltsDO

type AuthSaltsDO struct {
	Id         int32  `db:"id"`
	AuthId     int64  `db:"auth_id"`
	Salt       int64  `db:"salt"`
	ValidSince int32  `db:"valid_since"`
	CreatedAt  string `db:"created_at"`
	UpdatedAt  string `db:"updated_at"`
	DeletedAt  string `db:"deleted_at"`
}

type AuthUsersDO

type AuthUsersDO struct {
	Id            int32  `db:"id"`
	AuthId        int64  `db:"auth_id"`
	UserId        int32  `db:"user_id"`
	Hash          int64  `db:"hash"`
	DeviceModel   string `db:"device_model"`
	Platform      string `db:"platform"`
	SystemVersion string `db:"system_version"`
	ApiId         int32  `db:"api_id"`
	AppName       string `db:"app_name"`
	AppVersion    string `db:"app_version"`
	DateCreated   int32  `db:"date_created"`
	DateActive    int32  `db:"date_active"`
	Ip            string `db:"ip"`
	Country       string `db:"country"`
	Region        string `db:"region"`
	CreatedAt     string `db:"created_at"`
	DeletedAt     string `db:"deleted_at"`
}

type AuthsDO

type AuthsDO struct {
	Id             int32  `db:"id"`
	AuthId         int64  `db:"auth_id"`
	ApiId          int32  `db:"api_id"`
	DeviceModel    string `db:"device_model"`
	SystemVersion  string `db:"system_version"`
	AppVersion     string `db:"app_version"`
	SystemLangCode string `db:"system_lang_code"`
	LangPack       string `db:"lang_pack"`
	LangCode       string `db:"lang_code"`
	ConnectionHash int64  `db:"connection_hash"`
	CreatedAt      string `db:"created_at"`
	UpdatedAt      string `db:"updated_at"`
	DeletedAt      string `db:"deleted_at"`
}

type ChatUsersDO

type ChatUsersDO struct {
	Id              int32  `db:"id"`
	ChatId          int32  `db:"chat_id"`
	UserId          int32  `db:"user_id"`
	ParticipantType int8   `db:"participant_type"`
	InviterUserId   int32  `db:"inviter_user_id"`
	InvitedAt       int32  `db:"invited_at"`
	JoinedAt        int32  `db:"joined_at"`
	State           int8   `db:"state"`
	CreatedAt       string `db:"created_at"`
	UpdatedAt       string `db:"updated_at"`
}

type ChatsDO

type ChatsDO struct {
	Id                   int32  `db:"id"`
	CreatorUserId        int32  `db:"creator_user_id"`
	CreateRandomId       int64  `db:"create_random_id"`
	AccessHash           int64  `db:"access_hash"`
	ParticipantCount     int32  `db:"participant_count"`
	Title                string `db:"title"`
	TitleChangerUserId   int32  `db:"title_changer_user_id"`
	TitleChangedAt       string `db:"title_changed_at"`
	TitleChangeRandomId  int64  `db:"title_change_random_id"`
	AvatarChangerUserId  int32  `db:"avatar_changer_user_id"`
	AvatarChangedAt      string `db:"avatar_changed_at"`
	AvatarChangeRandomId int64  `db:"avatar_change_random_id"`
	IsPublic             int8   `db:"is_public"`
	About                string `db:"about"`
	Topic                string `db:"topic"`
	IsHidden             int8   `db:"is_hidden"`
	Version              int32  `db:"version"`
	CreatedAt            string `db:"created_at"`
	UpdatedAt            string `db:"updated_at"`
}

type ClientUpdatesStateDO

type ClientUpdatesStateDO struct {
	Id        int32  `db:"id"`
	AuthKeyId int64  `db:"auth_key_id"`
	UserId    int32  `db:"user_id"`
	Pts       int32  `db:"pts"`
	Qts       int32  `db:"qts"`
	Seq       int32  `db:"seq"`
	Date2     int32  `db:"date2"`
	CreatedAt string `db:"created_at"`
	UpdatedAt string `db:"updated_at"`
	DeletedAt string `db:"deleted_at"`
}

type DevicesDO

type DevicesDO struct {
	Id        int32  `db:"id"`
	AuthId    int64  `db:"auth_id"`
	UserId    int32  `db:"user_id"`
	TokenType int8   `db:"token_type"`
	Token     string `db:"token"`
	State     int8   `db:"state"`
	CreatedAt string `db:"created_at"`
	UpdatedAt string `db:"updated_at"`
}

type MessageBoxesDO

type MessageBoxesDO struct {
	Id             int32  `db:"id"`
	UserId         int32  `db:"user_id"`
	SenderUserId   int32  `db:"sender_user_id"`
	MessageBoxType int8   `db:"message_box_type"`
	PeerType       int8   `db:"peer_type"`
	PeerId         int32  `db:"peer_id"`
	Pts            int32  `db:"pts"`
	MessageId      int32  `db:"message_id"`
	MediaUnread    int8   `db:"media_unread"`
	State          int8   `db:"state"`
	Date2          int32  `db:"date2"`
	CreatedAt      string `db:"created_at"`
	UpdatedAt      string `db:"updated_at"`
}

type MessagesDO

type MessagesDO struct {
	Id           int32  `db:"id"`
	SenderUserId int32  `db:"sender_user_id"`
	PeerType     int32  `db:"peer_type"`
	PeerId       int32  `db:"peer_id"`
	RandomId     int64  `db:"random_id"`
	MessageType  int8   `db:"message_type"`
	MessageData  []byte `db:"message_data"`
	Date2        int32  `db:"date2"`
	CreatedAt    string `db:"created_at"`
	DeletedAt    string `db:"deleted_at"`
}

type ReportsDO

type ReportsDO struct {
	Id        int32  `db:"id"`
	AuthId    int64  `db:"auth_id"`
	UserId    int32  `db:"user_id"`
	PeerType  int32  `db:"peer_type"`
	PeerId    int32  `db:"peer_id"`
	Reason    int8   `db:"reason"`
	Content   string `db:"content"`
	CreatedAt string `db:"created_at"`
}

type SeqUpdatesNgenDO

type SeqUpdatesNgenDO struct {
	Id        int64  `db:"id"`
	SeqName   string `db:"seq_name"`
	Seq       int64  `db:"seq"`
	CreatedAt string `db:"created_at"`
	UpdatedAt string `db:"updated_at"`
}

type TmpPasswordsDO

type TmpPasswordsDO struct {
	Id           int32  `db:"id"`
	AuthId       int64  `db:"auth_id"`
	UserId       int32  `db:"user_id"`
	PasswordHash string `db:"password_hash"`
	Period       int32  `db:"period"`
	TmpPassword  string `db:"tmp_password"`
	ValidUntil   int32  `db:"valid_until"`
	CreatedAt    string `db:"created_at"`
}

type UserContactsDO

type UserContactsDO struct {
	Id            int32  `db:"id"`
	OwnerUserId   int32  `db:"owner_user_id"`
	ContactUserId int32  `db:"contact_user_id"`
	IsBlocked     int8   `db:"is_blocked"`
	Date2         int32  `db:"date2"`
	IsDeleted     int8   `db:"is_deleted"`
	CreatedAt     string `db:"created_at"`
	UpdatedAt     string `db:"updated_at"`
}

type UserDialogsDO

type UserDialogsDO struct {
	Id                  int32  `db:"id"`
	UserId              int32  `db:"user_id"`
	PeerType            int8   `db:"peer_type"`
	PeerId              int32  `db:"peer_id"`
	IsPinned            int8   `db:"is_pinned"`
	TopMessage          int32  `db:"top_message"`
	ReadInboxMaxId      int32  `db:"read_inbox_max_id"`
	ReadOutboxMaxId     int32  `db:"read_outbox_max_id"`
	UnreadCount         int32  `db:"unread_count"`
	UnreadMentionsCount int32  `db:"unread_mentions_count"`
	Date2               int32  `db:"date2"`
	CreatedAt           string `db:"created_at"`
	UpdatedAt           string `db:"updated_at"`
}

type UserNotifySettingsDO

type UserNotifySettingsDO struct {
	Id           int32  `db:"id"`
	UserId       int32  `db:"user_id"`
	PeerType     int8   `db:"peer_type"`
	PeerId       int32  `db:"peer_id"`
	ShowPreviews int8   `db:"show_previews"`
	Silent       int8   `db:"silent"`
	MuteUntil    int32  `db:"mute_until"`
	Sound        string `db:"sound"`
	IsDeleted    int8   `db:"is_deleted"`
	CreatedAt    string `db:"created_at"`
	UpdatedAt    string `db:"updated_at"`
}

type UserPrivacysDO

type UserPrivacysDO struct {
	Id              int32  `db:"id"`
	UserId          int32  `db:"user_id"`
	Password        string `db:"password"`
	RecoveryMail    string `db:"recovery_mail"`
	StatusTimestamp int8   `db:"status_timestamp"`
	ChatInvite      int8   `db:"chat_invite"`
	PhoneCall       int8   `db:"phone_call"`
	Ttl             int32  `db:"ttl"`
	TtlCreatedAt    int32  `db:"ttl_created_at"`
	CreatedAt       string `db:"created_at"`
	UpdatedAt       string `db:"updated_at"`
}

type UsersDO

type UsersDO struct {
	Id            int32  `db:"id"`
	AccessHash    int64  `db:"access_hash"`
	FirstName     string `db:"first_name"`
	LastName      string `db:"last_name"`
	Username      string `db:"username"`
	Phone         string `db:"phone"`
	CountryCode   string `db:"country_code"`
	Bio           string `db:"bio"`
	About         string `db:"about"`
	State         int32  `db:"state"`
	IsBot         int8   `db:"is_bot"`
	Deleted       int8   `db:"deleted"`
	DeletedReason string `db:"deleted_reason"`
	CreatedAt     string `db:"created_at"`
	UpdatedAt     string `db:"updated_at"`
	DeletedAt     string `db:"deleted_at"`
}

Jump to

Keyboard shortcuts

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