Documentation ¶
Index ¶
- func NewFacebookUseCase(cfg *configs.Configs) facebook.UseCase
- type FacebookUS
- func (us *FacebookUS) SendButtonMessage(ctx context.Context, id string, input *types.SendButtonMessageRequest) error
- func (us *FacebookUS) SendImageMessage(ctx context.Context, id string, url string) error
- func (us *FacebookUS) SendMessage(ctx context.Context, id string, message interface{}) error
- func (us *FacebookUS) SendQuickReplies(ctx context.Context, id string, message string, ...) error
- func (us *FacebookUS) SendTextMessage(ctx context.Context, id string, text string) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
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 (*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 ¶
Click to show internal directories.
Click to hide internal directories.