dataobject

package
v0.85.0 Latest Latest
Warning

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

Go to latest
Published: Mar 1, 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"`
	Link    string `db:"link"`
	UserId  int64  `db:"user_id"`
	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"`
	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"`
	Deactivated          bool   `db:"deactivated"`
	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