Versions in this module Expand all Collapse all v0 v0.0.3 Apr 22, 2023 v0.0.2 Apr 22, 2023 Changes in this version + func AddSentHandler(handler HandlerSentMessage) + func EventIs(e interface{}, i interface{}) bool + func GetTextContext(msg *waProto.Message) (string, *waProto.ContextInfo) + func NewAudio(data []byte, mimetype string, ptt bool, seconds int, ctx *waProto.ContextInfo, ...) (*waProto.AudioMessage, error) + func NewAudioMessage(data []byte, mimetype string, ptt bool, seconds int, ctx *waProto.ContextInfo, ...) (*waProto.Message, error) + func NewAudioMessageFile(filename string, ctx *waProto.ContextInfo, client *whatsmeow.Client) (*waProto.Message, error) + func NewButtons(header interface{}, content, footer string, ...) (*waProto.ButtonsMessage, error) + func NewButtonsMessage(header interface{}, content, footer string, ...) (*waProto.Message, error) + func NewConversation(text string) (*waProto.Message, error) + func NewDocument(data []byte, filename string, ctx *waProto.ContextInfo, ...) (*waProto.DocumentMessage, error) + func NewDocumentMessage(data []byte, filename string, ctx *waProto.ContextInfo, ...) (*waProto.Message, error) + func NewDocumentMessageFile(filename string, ctx *waProto.ContextInfo, client *whatsmeow.Client) (*waProto.Message, error) + func NewExtendedMessage(text string, ctx *waProto.ContextInfo) (*waProto.Message, error) + func NewFormatTemplate(title interface{}, content, footer, template_id string, ...) (*waProto.TemplateMessage, error) + func NewFormatTemplateMessage(title interface{}, content, footer, template_id string, ...) (*waProto.Message, error) + func NewHydratedTemplate(title interface{}, content, footer, template_id string, ...) (*waProto.TemplateMessage, error) + func NewHydratedTemplateMessage(title interface{}, content, footer, template_id string, ...) (*waProto.Message, error) + func NewImage(data []byte, caption string, resize int, ctx *waProto.ContextInfo, ...) (*waProto.ImageMessage, error) + func NewImageMessage(data []byte, caption string, resize int, ctx *waProto.ContextInfo, ...) (*waProto.Message, error) + func NewImageMessageFile(filename, caption string, resize int, ctx *waProto.ContextInfo, ...) (*waProto.Message, error) + func NewList(title, description, toggle, footer string, ...) (*waProto.ListMessage, error) + func NewListMessage(title, description, toggle, footer string, ...) (*waProto.Message, error) + func NewProduct(header interface{}, body, footer string, ctx *waProto.ContextInfo) (*waProto.ProductMessage, error) + func NewProductMessage(header interface{}, body, footer string, ctx *waProto.ContextInfo) (*waProto.Message, error) + func NewSticker(data []byte, animated bool, ctx *waProto.ContextInfo, client *whatsmeow.Client) (*waProto.StickerMessage, error) + func NewStickerMessage(data []byte, animated bool, ctx *waProto.ContextInfo, client *whatsmeow.Client) (*waProto.Message, error) + func NewStickerMessageFile(filename string, animated bool, ctx *waProto.ContextInfo, ...) (*waProto.Message, error) + func NewVideo(data []byte, caption string, ctx *waProto.ContextInfo, ...) (*waProto.VideoMessage, error) + func NewVideoMessage(data []byte, caption string, ctx *waProto.ContextInfo, ...) (*waProto.Message, error) + func NewVideoMessageFile(filename, caption string, ctx *waProto.ContextInfo, client *whatsmeow.Client) (*waProto.Message, error) + func PrepareExec(e interface{}) (*events.Message, *waProto.ContextInfo, string, []string, error) + func SanitizeContext(e *events.Message, quote bool, client *whatsmeow.Client) (*waProto.ContextInfo, error) + func SendChatPresence(event *events.Message, media waTypes.ChatPresenceMedia, ...) error + func SendMessage(jid waTypes.JID, message *waProto.Message, client *whatsmeow.Client) (whatsmeow.SendResponse, error) + func SendReactMessage(event *events.Message, react Reactions, client *whatsmeow.Client) (whatsmeow.SendResponse, error) + func SendRecording(event *events.Message, client *whatsmeow.Client) error + func SendStopRecording(event *events.Message, client *whatsmeow.Client) error + func SendStopTyping(event *events.Message, client *whatsmeow.Client) error + func SendTextMessage(jid waTypes.JID, text string, ctx *waProto.ContextInfo, ...) (whatsmeow.SendResponse, error) + func SendTyping(event *events.Message, client *whatsmeow.Client) error + type HandlerSentMessage func(waTypes.JID, string, *waProto.Message) + type Reactions string + const ReactAirplane + const ReactAlarm + const ReactBadminton + const ReactFaceClown + const ReactFaceHot + const ReactFaceHugging + const ReactFaceInnoncent + const ReactFaceJoy + const ReactFaceLove + const ReactFaceLying + const ReactFaceMoney + const ReactFacePalm + const ReactFaceSad + const ReactFaceTear + const ReactFaceTired + const ReactFaceVomiting + const ReactFaceWow + const ReactFaceZany + const ReactFlagIndonesia + const ReactHandBad + const ReactHandFolded + const ReactHandLike + const ReactHundred + const ReactLove + const ReactMedalBronze + const ReactMedalGold + const ReactMedalSilver + const ReactNotEntry + const ReactPlester + const ReactRocket