domain

package
v0.0.0-...-2c15e9f Latest Latest
Warning

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

Go to latest
Published: May 18, 2020 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 ChatID

type ChatID int64

ChatID is a type for chatIDs

func (ChatID) String

func (c ChatID) String() string

type Message

type Message struct {
	Text   string
	ChatID ChatID
}

Message - internal description of telegram message

type Subscription

type Subscription struct {
	ChatID   ChatID
	Postcode string
}

Subscription is a datastructure in DB

Jump to

Keyboard shortcuts

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