response

package
v0.0.0-...-9d3578c Latest Latest
Warning

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

Go to latest
Published: Feb 4, 2024 License: MIT Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type GetMessages

type GetMessages struct {
	Messages []*Message `json:"messages"`
}

type GetRoomUsers

type GetRoomUsers struct {
	Users []*RoomUser `json:"users"`
}

type Message

type Message struct {
	ID       string `json:"id"`
	UserID   string `json:"user_id"`
	Type     string `jsn:"type"`
	Content  string `json:"content"`
	PostedAt string `json:"timestamp"`
}

type RoomUser

type RoomUser struct {
	ID         string    `json:"id"`
	Name       string    `json:"name"`
	Profile    string    `json:"profile"`
	PictureURL string    `json:"pictureUrl"`
	LastReadAt time.Time `json:"lastReadAt"`
}

Jump to

Keyboard shortcuts

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