messengers

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

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

Go to latest
Published: Aug 28, 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 ListenChatInput

type ListenChatInput interface {
	ListenChat(request ListenChatRequest, output ListenChatOutput)
}

ListenChatInput listen chat input contract

type ListenChatOutput

type ListenChatOutput interface {
	OnResponse(request ListenChatRequest)
}

ListenChatOutput listen chat output contract

type ListenChatRequest

type ListenChatRequest struct {
	Repo        storage.Storager
	Phone       string
	Messenger   string
	ChatID      int
	FileURL     string
	FileName    string
	FileSize    int
	Description string
}

ListenChatRequest parameters

type OrderPostInput

type OrderPostInput interface {
	ShowOrder(chatID int, message, description string) error
}

OrderPostInput order to chatID contract

Jump to

Keyboard shortcuts

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