events

package
v0.0.0-...-63d1355 Latest Latest
Warning

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

Go to latest
Published: Feb 1, 2023 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 BotCommand

type BotCommand struct {
	Type domain.EventType
	Chat dto.Chat
	User dto.User
	Args []string
}

func (*BotCommand) EventType

func (cmd *BotCommand) EventType() domain.EventType

func (*BotCommand) SubName

func (cmd *BotCommand) SubName() string

type MessageOutbox

type MessageOutbox struct {
	Recipients []dto.Chat
	Text       string
	Metadata   map[string]string
}

func (*MessageOutbox) EventType

func (m *MessageOutbox) EventType() domain.EventType

func (*MessageOutbox) SubName

func (m *MessageOutbox) SubName() string

Jump to

Keyboard shortcuts

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