whatsapp

package
v1.7.2 Latest Latest
Warning

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

Go to latest
Published: Mar 21, 2024 License: MIT Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetGroup

func GetGroup(c echo.Context) error

GetGroup @Summary Get Joined Groups Information @Description Get Joined Groups Information from WhatsApp @Tags WhatsApp Group @Produce json @Success 200 @Security BearerAuth @Router /group [get]

func JoinGroup added in v1.7.0

func JoinGroup(c echo.Context) error

JoinGroup @Summary Join Group From Invitation Link @Description Joining to Group From Invitation Link from WhatsApp @Tags WhatsApp Group @Produce json @Param link formData string true "Group Invitation Link" @Success 200 @Security BearerAuth @Router /group/join [post]

func LeaveGroup added in v1.7.0

func LeaveGroup(c echo.Context) error

LeaveGroup @Summary Leave Group By Group ID @Description Leaving Group By Group ID from WhatsApp @Tags WhatsApp Group @Produce json @Param groupid formData string true "Group ID" @Success 200 @Security BearerAuth @Router /group/leave [post]

func Login

func Login(c echo.Context) error

Login @Summary Generate QR Code for WhatsApp Multi-Device Login @Description Get QR Code for WhatsApp Multi-Device Login @Tags WhatsApp Authentication @Accept multipart/form-data @Produce json @Produce html @Param output formData string false "Change Output Format in HTML or JSON" Enums(html, json) default(html) @Success 200 @Security BearerAuth @Router /login [post]

func LoginPair added in v1.6.0

func LoginPair(c echo.Context) error

PairPhone @Summary Pair Phone for WhatsApp Multi-Device Login @Description Get Pairing Code for WhatsApp Multi-Device Login @Tags WhatsApp Authentication @Accept multipart/form-data @Produce json @Success 200 @Security BearerAuth @Router /login/pair [post]

func Logout

func Logout(c echo.Context) error

Logout @Summary Logout Device from WhatsApp Multi-Device @Description Make Device Logout from WhatsApp Multi-Device @Tags WhatsApp Authentication @Produce json @Success 200 @Security BearerAuth @Router /logout [post]

func MessageDelete added in v1.7.0

func MessageDelete(c echo.Context) error

MessageDelete @Summary Delete Message @Description Delete Message to Spesific WhatsApp Personal ID or Group ID @Tags WhatsApp Message @Accept multipart/form-data @Produce json @Param msisdn formData string true "Destination WhatsApp Personal ID or Group ID" @Param messageid formData string true "Message ID" @Success 200 @Security BearerAuth @Router /message/delete [post]

func MessageEdit added in v1.7.1

func MessageEdit(c echo.Context) error

MessageEdit @Summary Update Message @Description Update Message to Spesific WhatsApp Personal ID or Group ID @Tags WhatsApp Message @Accept multipart/form-data @Produce json @Param msisdn formData string true "Destination WhatsApp Personal ID or Group ID" @Param messageid formData string true "Message ID" @Param message formData string true "Text Message" @Success 200 @Security BearerAuth @Router /message/edit [post]

func MessageReact added in v1.7.2

func MessageReact(c echo.Context) error

MessageReact @Summary React Message @Description React Message to Spesific WhatsApp Personal ID or Group ID @Tags WhatsApp Message @Accept multipart/form-data @Produce json @Param msisdn formData string true "Destination WhatsApp Personal ID or Group ID" @Param messageid formData string true "Message ID" @Param emoji formData string true "Reaction Emoji" @Success 200 @Security BearerAuth @Router /message/react [post]

func Registered

func Registered(c echo.Context) error

Registered @Summary Check If WhatsApp Personal ID is Registered @Description Check WhatsApp Personal ID is Registered @Tags WhatsApp Information @Produce json @Param msisdn query string true "WhatsApp Personal ID to Check" @Success 200 @Security BearerAuth @Router /registered [get]

func SendAudio

func SendAudio(c echo.Context) error

SendAudio @Summary Send Audio Message @Description Send Audio Message to Spesific WhatsApp Personal ID or Group ID @Tags WhatsApp Send Message @Accept multipart/form-data @Produce json @Param msisdn formData string true "Destination WhatsApp Personal ID or Group ID" @Param audio formData file true "Audio File" @Success 200 @Security BearerAuth @Router /send/audio [post]

func SendContact

func SendContact(c echo.Context) error

SendContact @Summary Send Contact Message @Description Send Contact Message to Spesific WhatsApp Personal ID or Group ID @Tags WhatsApp Send Message @Accept multipart/form-data @Produce json @Param msisdn formData string true "Destination WhatsApp Personal ID or Group ID" @Param name formData string true "Contact Name" @Param phone formData string true "Contact Phone" @Success 200 @Security BearerAuth @Router /send/contact [post]

func SendDocument

func SendDocument(c echo.Context) error

SendDocument @Summary Send Document Message @Description Send Document Message to Spesific WhatsApp Personal ID or Group ID @Tags WhatsApp Send Message @Accept multipart/form-data @Produce json @Param msisdn formData string true "Destination WhatsApp Personal ID or Group ID" @Param document formData file true "Document File" @Success 200 @Security BearerAuth @Router /send/document [post]

func SendImage

func SendImage(c echo.Context) error

SendImage @Summary Send Image Message @Description Send Image Message to Spesific WhatsApp Personal ID or Group ID @Tags WhatsApp Send Message @Accept multipart/form-data @Produce json @Param msisdn formData string true "Destination WhatsApp Personal ID or Group ID" @Param caption formData string true "Caption Image Message" @Param image formData file true "Image File" @Param viewonce formData bool false "Is View Once" default(false) @Success 200 @Security BearerAuth @Router /send/image [post]

func SendLink(c echo.Context) error

SendLink @Summary Send Link Message @Description Send Link Message to Spesific WhatsApp Personal ID or Group ID @Tags WhatsApp Send Message @Accept multipart/form-data @Produce json @Param msisdn formData string true "Destination WhatsApp Personal ID or Group ID" @Param caption formData string false "Link Caption" @Param url formData string true "Link URL" @Success 200 @Security BearerAuth @Router /send/link [post]

func SendLocation

func SendLocation(c echo.Context) error

SendLocation @Summary Send Location Message @Description Send Location Message to Spesific WhatsApp Personal ID or Group ID @Tags WhatsApp Send Message @Accept multipart/form-data @Produce json @Param msisdn formData string true "Destination WhatsApp Personal ID or Group ID" @Param latitude formData number true "Location Latitude" @Param longitude formData number true "Location Longitude" @Success 200 @Security BearerAuth @Router /send/location [post]

func SendPoll added in v1.7.1

func SendPoll(c echo.Context) error

SendPoll @Summary Send Poll @Description Send Poll to Spesific WhatsApp Personal ID or Group ID @Tags WhatsApp Send Message @Accept multipart/form-data @Produce json @Param msisdn formData string true "Destination WhatsApp Personal ID or Group ID" @Param question formData string true "Poll Question" @Param options formData string true "Poll Options (Comma Seperated for New Options)" @Param multianswer formData bool false "Is Multiple Answer" default(false) @Success 200 @Security BearerAuth @Router /send/poll [post]

func SendSticker

func SendSticker(c echo.Context) error

SendSticker @Summary Send Sticker Message @Description Send Sticker Message to Spesific WhatsApp Personal ID or Group ID @Tags WhatsApp Send Message @Accept multipart/form-data @Produce json @Param msisdn formData string true "Destination WhatsApp Personal ID or Group ID" @Param sticker formData file true "Sticker File" @Success 200 @Security BearerAuth @Router /send/sticker [post]

func SendText

func SendText(c echo.Context) error

SendText @Summary Send Text Message @Description Send Text Message to Spesific WhatsApp Personal ID or Group ID @Tags WhatsApp Send Message @Accept multipart/form-data @Produce json @Param msisdn formData string true "Destination WhatsApp Personal ID or Group ID" @Param message formData string true "Text Message" @Success 200 @Security BearerAuth @Router /send/text [post]

func SendVideo

func SendVideo(c echo.Context) error

SendVideo @Summary Send Video Message @Description Send Video Message to Spesific WhatsApp Personal ID or Group ID @Tags WhatsApp Send Message @Accept multipart/form-data @Produce json @Param msisdn formData string true "Destination WhatsApp Personal ID or Group ID" @Param caption formData string true "Caption Video Message" @Param video formData file true "Video File" @Param viewonce formData bool false "Is View Once" default(false) @Success 200 @Security BearerAuth @Router /send/video [post]

Types

This section is empty.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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