entity

package
v0.0.0-...-407fbd6 Latest Latest
Warning

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

Go to latest
Published: Jul 6, 2020 License: MIT Imports: 0 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Channel

type Channel struct {
	ID      string
	OwnerID string
	Name    string
}

type Chat

type Chat struct {
	ID         string
	SenderName string
	SenderID   string
	ReceiverID string
	ChatType   string
	Message    string
	Timestamp  int64
}

type FilterChannel

type FilterChannel struct {
	ID    *string
	Name  *string
	Limit *int
}

type FilterChat

type FilterChat struct {
	ReceiverID *string
	BeforeID   *string
	Limit      *int
}

type FilterUser

type FilterUser struct {
	UserID      *string
	PhoneNumber *string
	Limit       *int
}

type LoginVerification

type LoginVerification struct {
	ID               string
	UserID           string
	PhoneNumber      string
	DeviceID         string
	VerificationCode string
	ExpiredTimestamp int64
}

type User

type User struct {
	ID              string
	Username        string
	Name            string
	PhoneNumber     string
	IsPhoneVerified bool
}

Jump to

Keyboard shortcuts

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