Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type NotifyArbitrageRequest ¶
type ReplyCommandRequest ¶
type ReplyCommandRequest struct {
FromChatIDs []int64
}
func (*ReplyCommandRequest) InFromChatIDs ¶
func (r *ReplyCommandRequest) InFromChatIDs(chatID int64) bool
func (*ReplyCommandRequest) IsEmpty ¶
func (r *ReplyCommandRequest) IsEmpty() bool
type TelegramUseCase ¶
type TelegramUseCase interface { ReplyCommand(ctx context.Context, req ReplyCommandRequest) error NotifyArbitrage(ctx context.Context, req NotifyArbitrageRequest) error }
Click to show internal directories.
Click to hide internal directories.