whatsapp-multi-devicewhatsapp-apiwhatsapprestgolanggobotwhatsapp-web-multi-devicewhatsapp-api-gorest-apigolang-whatsapp-apigolang-whatsapp
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
21 lines
890 B
21 lines
890 B
package send
|
|
|
|
import (
|
|
"context"
|
|
)
|
|
|
|
type Type string
|
|
|
|
const TypeUser Type = "user"
|
|
const TypeGroup Type = "group"
|
|
|
|
type ISendService interface {
|
|
SendText(ctx context.Context, request MessageRequest) (response MessageResponse, err error)
|
|
SendImage(ctx context.Context, request ImageRequest) (response ImageResponse, err error)
|
|
SendFile(ctx context.Context, request FileRequest) (response FileResponse, err error)
|
|
SendVideo(ctx context.Context, request VideoRequest) (response VideoResponse, err error)
|
|
SendContact(ctx context.Context, request ContactRequest) (response ContactResponse, err error)
|
|
SendLink(ctx context.Context, request LinkRequest) (response LinkResponse, err error)
|
|
Revoke(ctx context.Context, request RevokeRequest) (response RevokeResponse, err error)
|
|
UpdateMessage(ctx context.Context, request UpdateMessageRequest) (response UpdateMessageResponse, err error)
|
|
}
|