iteung

package
v0.2.9 Latest Latest
Warning

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

Go to latest
Published: Dec 18, 2023 License: MIT Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ButtonMessageToMessage

func ButtonMessageToMessage(btm atmessage.ButtonsMessage, prefixurlapiwa string) string

func MessageWhatsauth

func MessageWhatsauth(Pesan model.IteungMessage, urlwauthrole string) (msg string)

func RunModule

func RunModule(Pesan model.IteungMessage, Keyword string, urlwauthreq string, prefixurlapiwa string) (msg string)

Types

type WhatsAuthRoles

type WhatsAuthRoles struct {
	Uuid        string `json:"uuid,omitempty" bson:"uuid,omitempty"`
	Phonenumber string `json:"phonenumber,omitempty" bson:"phonenumber,omitempty"`
	Roles       string `json:"roles,omitempty" bson:"roles,omitempty"`
}

type WhatsauthRequest

type WhatsauthRequest struct {
	Uuid        string `json:"uuid,omitempty" bson:"uuid,omitempty"`
	Phonenumber string `json:"phonenumber,omitempty" bson:"phonenumber,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