usecase

package
v0.0.0-...-cbf5b65 Latest Latest
Warning

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

Go to latest
Published: Dec 9, 2023 License: MIT Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewFacebookUseCase

func NewFacebookUseCase(cfg *configs.Configs) facebook.UseCase

Types

type FacebookUS

type FacebookUS struct {
	// contains filtered or unexported fields
}

func (*FacebookUS) SendButtonMessage

func (us *FacebookUS) SendButtonMessage(ctx context.Context, id string, input *types.SendButtonMessageRequest) error

func (*FacebookUS) SendImageMessage

func (us *FacebookUS) SendImageMessage(ctx context.Context, id string, url string) error

func (*FacebookUS) SendMessage

func (us *FacebookUS) SendMessage(ctx context.Context, id string, message interface{}) error

func (*FacebookUS) SendQuickReplies

func (us *FacebookUS) SendQuickReplies(ctx context.Context, id string, message string, quickReplies *[]types.QuickReplyRequest) error

func (*FacebookUS) SendTextMessage

func (us *FacebookUS) SendTextMessage(ctx context.Context, id string, text string) error

Jump to

Keyboard shortcuts

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