Documentation ¶
Index ¶
- type AppsDO
- type AuthKeysDO
- type AuthPhoneTransactionsDO
- type AuthSeqUpdatesDO
- type AuthUpdatesStateDO
- type AuthUsersDO
- type AuthsDO
- type BannedDO
- type ChatParticipantsDO
- type ChatsDO
- type DevicesDO
- type MessagesDO
- type PhoneCallSessionsDO
- type ReportsDO
- type StickerPacksDO
- type StickerSetsDO
- type TmpPasswordsDO
- type UserContactsDO
- type UserDialogsDO
- type UserNotifySettingsDO
- type UserPasswordsDO
- type UserPresencesDO
- type UserPrivacysDO
- type UserPtsUpdatesDO
- type UserQtsUpdatesDO
- type UsersDO
- type WallPapersDO
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AuthKeysDO ¶
type AuthPhoneTransactionsDO ¶
type AuthPhoneTransactionsDO struct { Id int64 `db:"id"` AuthKeyId int64 `db:"auth_key_id"` PhoneNumber string `db:"phone_number"` Code string `db:"code"` CodeExpired int32 `db:"code_expired"` TransactionHash string `db:"transaction_hash"` SentCodeType int8 `db:"sent_code_type"` FlashCallPattern string `db:"flash_call_pattern"` NextCodeType int8 `db:"next_code_type"` State int8 `db:"state"` ApiId int32 `db:"api_id"` ApiHash string `db:"api_hash"` Attempts int32 `db:"attempts"` CreatedTime int64 `db:"created_time"` CreatedAt string `db:"created_at"` UpdatedAt string `db:"updated_at"` IsDeleted int8 `db:"is_deleted"` }
type AuthSeqUpdatesDO ¶
type AuthUpdatesStateDO ¶
type AuthUpdatesStateDO struct { Id int32 `db:"id"` AuthKeyId int64 `db:"auth_key_id"` UserId int32 `db:"user_id"` Pts int32 `db:"pts"` Pts2 int32 `db:"pts2"` Qts int32 `db:"qts"` Qts2 int32 `db:"qts2"` Seq int32 `db:"seq"` Seq2 int32 `db:"seq2"` Date int32 `db:"date"` Date2 int32 `db:"date2"` 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"` DeletedAt int64 `db:"deleted_at"` CreatedAt string `db:"created_at"` UpdatedAt string `db:"updated_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 ChatParticipantsDO ¶
type ChatParticipantsDO 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"` AccessHash int64 `db:"access_hash"` RandomId int64 `db:"random_id"` ParticipantCount int32 `db:"participant_count"` Title string `db:"title"` PhotoId int64 `db:"photo_id"` AdminsEnabled int8 `db:"admins_enabled"` Deactivated int8 `db:"deactivated"` Version int32 `db:"version"` Date int32 `db:"date"` CreatedAt string `db:"created_at"` UpdatedAt string `db:"updated_at"` }
type MessagesDO ¶
type MessagesDO struct { Id int32 `db:"id"` UserId int32 `db:"user_id"` UserMessageBoxId int32 `db:"user_message_box_id"` DialogMessageId int64 `db:"dialog_message_id"` SenderUserId int32 `db:"sender_user_id"` MessageBoxType int8 `db:"message_box_type"` PeerType int8 `db:"peer_type"` PeerId int32 `db:"peer_id"` RandomId int64 `db:"random_id"` MessageType int8 `db:"message_type"` MessageData string `db:"message_data"` Date2 int32 `db:"date2"` Deleted int8 `db:"deleted"` CreatedAt string `db:"created_at"` UpdatedAt string `db:"updated_at"` }
type PhoneCallSessionsDO ¶
type PhoneCallSessionsDO struct { Id int32 `db:"id"` CallSessionId int64 `db:"call_session_id"` AdminId int32 `db:"admin_id"` AdminAccessHash int64 `db:"admin_access_hash"` ParticipantId int32 `db:"participant_id"` ParticipantAccessHash int64 `db:"participant_access_hash"` UdpP2p int8 `db:"udp_p2p"` UdpReflector int8 `db:"udp_reflector"` MinLayer int32 `db:"min_layer"` MaxLayer int32 `db:"max_layer"` GA string `db:"g_a"` GB string `db:"g_b"` State int32 `db:"state"` Date int32 `db:"date"` AdminDebugData string `db:"admin_debug_data"` ParticipantDebugData string `db:"participant_debug_data"` CreatedAt string `db:"created_at"` UpdatedAt string `db:"updated_at"` }
type StickerPacksDO ¶
type StickerSetsDO ¶
type StickerSetsDO struct { Id int32 `db:"id"` StickerSetId int64 `db:"sticker_set_id"` AccessHash int64 `db:"access_hash"` Title string `db:"title"` ShortName string `db:"short_name"` Count int32 `db:"count"` Hash int32 `db:"hash"` Official int8 `db:"official"` Mask int8 `db:"mask"` CreatedAt string `db:"created_at"` UpdatedAt string `db:"updated_at"` }
type TmpPasswordsDO ¶
type UserContactsDO ¶
type UserContactsDO struct { Id int32 `db:"id"` OwnerUserId int32 `db:"owner_user_id"` ContactUserId int32 `db:"contact_user_id"` ContactPhone string `db:"contact_phone"` ContactFirstName string `db:"contact_first_name"` ContactLastName string `db:"contact_last_name"` Mutual int8 `db:"mutual"` IsBlocked int8 `db:"is_blocked"` IsDeleted int8 `db:"is_deleted"` Date2 int32 `db:"date2"` 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"` ShowPreviews int8 `db:"show_previews"` Silent int8 `db:"silent"` MuteUntil int32 `db:"mute_until"` Sound string `db:"sound"` Pts int32 `db:"pts"` DraftId int32 `db:"draft_id"` DraftType int8 `db:"draft_type"` DraftMessageData string `db:"draft_message_data"` Date2 int32 `db:"date2"` Version int64 `db:"version"` 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 UserPasswordsDO ¶
type UserPasswordsDO struct { Id int64 `db:"id"` UserId int32 `db:"user_id"` ServerSalt string `db:"server_salt"` Hash string `db:"hash"` Salt string `db:"salt"` Hint string `db:"hint"` Email string `db:"email"` HasRecovery int8 `db:"has_recovery"` Code string `db:"code"` CodeExpired int32 `db:"code_expired"` Attempts int32 `db:"attempts"` State int8 `db:"state"` CreatedAt string `db:"created_at"` UpdatedAt string `db:"updated_at"` }
type UserPresencesDO ¶
type UserPresencesDO struct { Id int32 `db:"id"` UserId int32 `db:"user_id"` LastSeenAt int64 `db:"last_seen_at"` LastSeenAuthKeyId int64 `db:"last_seen_auth_key_id"` LastSeenIp string `db:"last_seen_ip"` Version int64 `db:"version"` CreatedAt string `db:"created_at"` UpdatedAt string `db:"updated_at"` }
type UserPrivacysDO ¶
type UserPtsUpdatesDO ¶
type UserQtsUpdatesDO ¶
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"` Banned int64 `db:"banned"` BannedReason string `db:"banned_reason"` AccountDaysTtl int32 `db:"account_days_ttl"` Photos string `db:"photos"` Deleted int8 `db:"deleted"` DeletedReason string `db:"deleted_reason"` CreatedAt string `db:"created_at"` UpdatedAt string `db:"updated_at"` BannedAt string `db:"banned_at"` DeletedAt string `db:"deleted_at"` }
Source Files ¶
- apps_do.go
- auth_keys_do.go
- auth_phone_transactions_do.go
- auth_seq_updates_do.go
- auth_updates_state_do.go
- auth_users_do.go
- auths_do.go
- banned_do.go
- chat_participants_do.go
- chats_do.go
- devices_do.go
- messages_do.go
- phone_call_sessions_do.go
- reports_do.go
- sticker_packs_do.go
- sticker_sets_do.go
- tmp_passwords_do.go
- user_contacts_do.go
- user_dialogs_do.go
- user_notify_settings_do.go
- user_passwords_do.go
- user_presences_do.go
- user_privacys_do.go
- user_pts_updates_do.go
- user_qts_updates_do.go
- users_do.go
- wall_papers_do.go
Click to show internal directories.
Click to hide internal directories.