dataobject

package
v0.87.2 Latest Latest
Warning

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

Go to latest
Published: Aug 21, 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 ChatInviteParticipantsDO

type ChatInviteParticipantsDO struct {
	Id         int64  `db:"id"`
	ChatId     int64  `db:"chat_id"`
	Link       string `db:"link"`
	UserId     int64  `db:"user_id"`
	Requested  bool   `db:"requested"`
	ApprovedBy int64  `db:"approved_by"`
	Date2      int64  `db:"date2"`
	Deleted    bool   `db:"deleted"`
}

type ChatInvitesDO

type ChatInvitesDO struct {
	Id            int64  `db:"id"`
	ChatId        int64  `db:"chat_id"`
	AdminId       int64  `db:"admin_id"`
	MigratedToId  int64  `db:"migrated_to_id"`
	Link          string `db:"link"`
	Permanent     bool   `db:"permanent"`
	Revoked       bool   `db:"revoked"`
	RequestNeeded bool   `db:"request_needed"`
	StartDate     int64  `db:"start_date"`
	ExpireDate    int64  `db:"expire_date"`
	UsageLimit    int32  `db:"usage_limit"`
	Usage2        int32  `db:"usage2"`
	Requested     int32  `db:"requested"`
	Title         string `db:"title"`
	Date2         int64  `db:"date2"`
	State         int32  `db:"state"`
}

type ChatParticipantsDO

type ChatParticipantsDO struct {
	Id                             int64  `db:"id"`
	ChatId                         int64  `db:"chat_id"`
	UserId                         int64  `db:"user_id"`
	ParticipantType                int32  `db:"participant_type"`
	Link                           string `db:"link"`
	Usage2                         int32  `db:"usage2"`
	AdminRights                    int32  `db:"admin_rights"`
	InviterUserId                  int64  `db:"inviter_user_id"`
	InvitedAt                      int64  `db:"invited_at"`
	KickedAt                       int64  `db:"kicked_at"`
	LeftAt                         int64  `db:"left_at"`
	GroupcallDefaultJoinAsPeerType int32  `db:"groupcall_default_join_as_peer_type"`
	GroupcallDefaultJoinAsPeerId   int64  `db:"groupcall_default_join_as_peer_id"`
	State                          int32  `db:"state"`
	Date2                          int64  `db:"date2"`
}

type ChatsDO

type ChatsDO struct {
	Id                   int64  `db:"id"`
	CreatorUserId        int64  `db:"creator_user_id"`
	AccessHash           int64  `db:"access_hash"`
	RandomId             int64  `db:"random_id"`
	ParticipantCount     int32  `db:"participant_count"`
	Title                string `db:"title"`
	About                string `db:"about"`
	PhotoId              int64  `db:"photo_id"`
	DefaultBannedRights  int64  `db:"default_banned_rights"`
	MigratedToId         int64  `db:"migrated_to_id"`
	MigratedToAccessHash int64  `db:"migrated_to_access_hash"`
	AvailableReactions   string `db:"available_reactions"`
	Deactivated          bool   `db:"deactivated"`
	Noforwards           bool   `db:"noforwards"`
	Version              int32  `db:"version"`
	Date                 int64  `db:"date"`
}

Jump to

Keyboard shortcuts

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