Documentation
¶
Index ¶
- type AppsDO
- type AuthKeysDO
- type AuthPhoneTransactionsDO
- type AuthSaltsDO
- type AuthUsersDO
- type AuthsDO
- type ChatUsersDO
- type ChatsDO
- type ClientUpdatesStateDO
- type DevicesDO
- type MessageBoxesDO
- type MessagesDO
- type ReportsDO
- type SeqUpdatesNgenDO
- type TmpPasswordsDO
- type UserContactsDO
- type UserDialogsDO
- type UserNotifySettingsDO
- type UserPrivacysDO
- type UsersDO
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AuthKeysDO ¶
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 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 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 SeqUpdatesNgenDO ¶
type TmpPasswordsDO ¶
type UserContactsDO ¶
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"` }
Source Files
¶
- apps_do.go
- auth_keys_do.go
- auth_phone_transactions_do.go
- auth_salts_do.go
- auth_users_do.go
- auths_do.go
- chat_users_do.go
- chats_do.go
- client_updates_state_do.go
- devices_do.go
- message_boxes_do.go
- messages_do.go
- reports_do.go
- seq_updates_ngen_do.go
- tmp_passwords_do.go
- user_contacts_do.go
- user_dialogs_do.go
- user_notify_settings_do.go
- user_privacys_do.go
- users_do.go
Click to show internal directories.
Click to hide internal directories.