residence

package module
v0.0.2-0...-c95d280 Latest Latest
Warning

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

Go to latest
Published: Aug 10, 2023 License: MIT Imports: 6 Imported by: 0

README

residence

git tag v0.0.1
git push origin --tags
go list -m github.com/aiteung/residence

Documentation

Index

Constants

View Source
const Keyword string = "r3s1d3nce"

Variables

This section is empty.

Functions

func HandlerResidence

func HandlerResidence(waclient *whatsmeow.Client, Info *types.MessageInfo, Message *waProto.Message, urlwauthreq string, urlwauthrole string, prefixurlapiwa string)

func HasKeyword

func HasKeyword(Info *types.MessageInfo, Message *waProto.Message) (whmsg bool)

func RunModule

func RunModule(waclient *whatsmeow.Client, Info *types.MessageInfo, Message *waProto.Message, urlwauthreq string, prefixurlapiwa string)

Types

type WhatsappRequest

type WhatsappRequest struct {
	Message     string `json:"uuid,omitempty" bson:"uuid,omitempty"`
	Phonenumber string `json:"phonenumber,omitempty" bson:"phonenumber,omitempty"`
	Name        string `json:"name,omitempty" bson:"name,omitempty"`
	Delay       uint32 `json:"delay,omitempty" bson:"delay,omitempty"`
}

Jump to

Keyboard shortcuts

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