internal

package
v0.0.0-...-5337c49 Latest Latest
Warning

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

Go to latest
Published: Apr 30, 2026 License: Apache-2.0 Imports: 15 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func SaveQRCode

func SaveQRCode(data string) error

SaveQRCode generates and saves a QR code image

func StartServer

func StartServer(bot *Bot)

Types

type Bot

type Bot struct {
	Client *whatsmeow.Client
}

func NewBot

func NewBot() (*Bot, error)

func (*Bot) SendMessage

func (b *Bot) SendMessage(number, message string) error

func (*Bot) Start

func (b *Bot) Start() error

type MRequest

type MRequest struct {
	Phone   string `json:"phone"`
	Message string `json:"message"`
}

Jump to

Keyboard shortcuts

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