bots

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

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

Go to latest
Published: Aug 8, 2022 License: MIT Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Bot

type Bot struct {
	Id int64 `json:"id"`
}

type Command

type Command struct {
	Id          int64       `json:"id"`
	Message     string      `json:"message"`
	DateCreated string      `json:"date_created"`
	UserId      int64       `json:"user_id"`
	CommandType CommandType `json:"command_type"`
}

func (*Command) Validate

func (command *Command) Validate() rest_errors.RestErr

type CommandType

type CommandType Enum
const (
	CommandTypeStock CommandType = "STOCK"
	CommandTypeChat  CommandType = "CHAT"
)

Command tyoe

type Enum

type Enum string

Jump to

Keyboard shortcuts

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