Skip to content

Commit

Permalink
Merge branch 'main' of github.com:rpsoftech/whatsapp-http-api-2
Browse files Browse the repository at this point in the history
  • Loading branch information
keyurboss committed Aug 28, 2024
2 parents 0949550 + 8f3ed81 commit dafcaec
Show file tree
Hide file tree
Showing 4 changed files with 50 additions and 267 deletions.
1 change: 1 addition & 0 deletions apis/index.go
Original file line number Diff line number Diff line change
Expand Up @@ -157,6 +157,7 @@ func SendMediaFileWithBase64(c *fiber.Ctx) error {
func SendMessage(c *fiber.Ctx) error {
body := new(apiSendMessage)
c.BodyParser(body)

if err := utility.ValidateReqInput(body); err != nil {
return err
}
Expand Down
30 changes: 10 additions & 20 deletions go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -11,24 +11,14 @@ require (
github.com/mattn/go-sqlite3 v1.14.22
github.com/mdp/qrterminal/v3 v3.2.0
github.com/skip2/go-qrcode v0.0.0-20200617195104-da1b6568686e
go.mau.fi/whatsmeow v0.0.0-20240625083845-6acab596dd8c
go.mau.fi/whatsmeow v0.0.0-20240821142752-3d63c6fcc1a7
google.golang.org/protobuf v1.34.2
)

require (
filippo.io/edwards25519 v1.1.0 // indirect
github.com/andybalholm/brotli v1.1.0 // indirect
github.com/gabriel-vasile/mimetype v1.4.4 // indirect
github.com/go-openapi/analysis v0.21.4 // indirect
github.com/go-openapi/errors v0.20.3 // indirect
github.com/go-openapi/jsonpointer v0.21.0 // indirect
github.com/go-openapi/jsonreference v0.21.0 // indirect
github.com/go-openapi/loads v0.21.2 // indirect
github.com/go-openapi/runtime v0.26.0 // indirect
github.com/go-openapi/spec v0.21.0 // indirect
github.com/go-openapi/strfmt v0.21.7 // indirect
github.com/go-openapi/swag v0.23.0 // indirect
github.com/go-openapi/validate v0.22.1 // indirect
github.com/gabriel-vasile/mimetype v1.4.5 // indirect
github.com/go-playground/locales v0.14.1 // indirect
github.com/go-playground/universal-translator v0.18.1 // indirect
github.com/google/go-cmp v0.5.9 // indirect
Expand All @@ -37,18 +27,18 @@ require (
github.com/leodido/go-urn v1.4.0 // indirect
github.com/mattn/go-colorable v0.1.13 // indirect
github.com/mattn/go-isatty v0.0.20 // indirect
github.com/mattn/go-runewidth v0.0.15 // indirect
github.com/mattn/go-runewidth v0.0.16 // indirect
github.com/rivo/uniseg v0.4.7 // indirect
github.com/rs/zerolog v1.33.0 // indirect
github.com/valyala/bytebufferpool v1.0.0 // indirect
github.com/valyala/fasthttp v1.55.0 // indirect
github.com/valyala/tcplisten v1.0.0 // indirect
go.mau.fi/libsignal v0.1.0 // indirect
go.mau.fi/util v0.5.0 // indirect
golang.org/x/crypto v0.24.0 // indirect
golang.org/x/net v0.26.0 // indirect
golang.org/x/sys v0.21.0 // indirect
golang.org/x/term v0.21.0 // indirect
golang.org/x/text v0.16.0 // indirect
go.mau.fi/libsignal v0.1.1 // indirect
go.mau.fi/util v0.7.0 // indirect
golang.org/x/crypto v0.26.0 // indirect
golang.org/x/net v0.28.0 // indirect
golang.org/x/sys v0.24.0 // indirect
golang.org/x/term v0.23.0 // indirect
golang.org/x/text v0.17.0 // indirect
rsc.io/qr v0.2.0 // indirect
)
Loading

0 comments on commit dafcaec

Please sign in to comment.