dataobject

package
v0.96.0 Latest Latest
Warning

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

Go to latest
Published: Jul 28, 2023 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" json:"id"`
	ChatId                         int64  `db:"chat_id" json:"chat_id"`
	UserId                         int64  `db:"user_id" json:"user_id"`
	ParticipantType                int32  `db:"participant_type" json:"participant_type"`
	Link                           string `db:"link" json:"link"`
	Usage2                         int32  `db:"usage2" json:"usage2"`
	AdminRights                    int32  `db:"admin_rights" json:"admin_rights"`
	InviterUserId                  int64  `db:"inviter_user_id" json:"inviter_user_id"`
	InvitedAt                      int64  `db:"invited_at" json:"invited_at"`
	KickedAt                       int64  `db:"kicked_at" json:"kicked_at"`
	LeftAt                         int64  `db:"left_at" json:"left_at"`
	GroupcallDefaultJoinAsPeerType int32  `db:"groupcall_default_join_as_peer_type" json:"groupcall_default_join_as_peer_type"`
	GroupcallDefaultJoinAsPeerId   int64  `db:"groupcall_default_join_as_peer_id" json:"groupcall_default_join_as_peer_id"`
	IsBot                          bool   `db:"is_bot" json:"is_bot"`
	State                          int32  `db:"state" json:"state"`
	Date2                          int64  `db:"date2" json:"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"`
	AvailableReactionsType int32  `db:"available_reactions_type"`
	AvailableReactions     string `db:"available_reactions"`
	Deactivated            bool   `db:"deactivated"`
	Noforwards             bool   `db:"noforwards"`
	TtlPeriod              int32  `db:"ttl_period"`
	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