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 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"`
}

type HashTagsDO

type HashTagsDO struct {
	Id               int64  `db:"id" json:"id"`
	UserId           int64  `db:"user_id" json:"user_id"`
	PeerType         int32  `db:"peer_type" json:"peer_type"`
	PeerId           int64  `db:"peer_id" json:"peer_id"`
	HashTag          string `db:"hash_tag" json:"hash_tag"`
	HashTagMessageId int32  `db:"hash_tag_message_id" json:"hash_tag_message_id"`
	Deleted          bool   `db:"deleted" json:"deleted"`
}

type MessagesDO

type MessagesDO struct {
	Id                int64  `db:"id" json:"id"`
	UserId            int64  `db:"user_id" json:"user_id"`
	UserMessageBoxId  int32  `db:"user_message_box_id" json:"user_message_box_id"`
	DialogId1         int64  `db:"dialog_id1" json:"dialog_id1"`
	DialogId2         int64  `db:"dialog_id2" json:"dialog_id2"`
	DialogMessageId   int64  `db:"dialog_message_id" json:"dialog_message_id"`
	SenderUserId      int64  `db:"sender_user_id" json:"sender_user_id"`
	PeerType          int32  `db:"peer_type" json:"peer_type"`
	PeerId            int64  `db:"peer_id" json:"peer_id"`
	RandomId          int64  `db:"random_id" json:"random_id"`
	MessageFilterType int32  `db:"message_filter_type" json:"message_filter_type"`
	MessageData       string `db:"message_data" json:"message_data"`
	Message           string `db:"message" json:"message"`
	Mentioned         bool   `db:"mentioned" json:"mentioned"`
	MediaUnread       bool   `db:"media_unread" json:"media_unread"`
	Pinned            bool   `db:"pinned" json:"pinned"`
	HasReaction       bool   `db:"has_reaction" json:"has_reaction"`
	Reaction          string `db:"reaction" json:"reaction"`
	ReactionDate      int64  `db:"reaction_date" json:"reaction_date"`
	ReactionUnread    bool   `db:"reaction_unread" json:"reaction_unread"`
	Date2             int64  `db:"date2" json:"date2"`
	TtlPeriod         int32  `db:"ttl_period" json:"ttl_period"`
	Deleted           bool   `db:"deleted" json:"deleted"`
}

Jump to

Keyboard shortcuts

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