Documentation ¶
Index ¶
- type BotCommandsDO
- type BotsDO
- type ImportedContactsDO
- type PhoneBooksDO
- type PopularContactsDO
- type PredefinedUsersDO
- type UnregisteredContactsDO
- type UserContactsDO
- type UserGlobalPrivacySettingsDO
- type UserNotifySettingsDO
- type UserPeerBlocksDO
- type UserPeerSettingsDO
- type UserPresencesDO
- type UserPrivaciesDO
- type UserProfilePhotosDO
- type UserSettingsDO
- type UsersDO
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type BotCommandsDO ¶
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 PhoneBooksDO ¶
type PopularContactsDO ¶
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 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 UserNotifySettingsDO ¶
type UserPeerBlocksDO ¶
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"` 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 UserPrivaciesDO ¶
type UserProfilePhotosDO ¶
type UserSettingsDO ¶
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"` }
Source Files ¶
- bot_commands_do.go
- bots_do.go
- imported_contacts_do.go
- phone_books_do.go
- popular_contacts_do.go
- predefined_users_do.go
- unregistered_contacts_do.go
- user_contacts_do.go
- user_global_privacy_settings_do.go
- user_notify_settings_do.go
- user_peer_blocks_do.go
- user_peer_settings_do.go
- user_presences_do.go
- user_privacies_do.go
- user_profile_photos_do.go
- user_settings_do.go
- users_do.go
Click to show internal directories.
Click to hide internal directories.