Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type DataPasser ¶
type DataPasser struct {
// contains filtered or unexported fields
}
type WhatsappBot ¶
type WhatsappBot struct { TelegramBot *tgBot.TelegramBot Client *whatsmeow.Client // contains filtered or unexported fields }
func Connect ¶
func Connect(telegramBot *tgBot.TelegramBot, dbName string, log *logger.Logger) (*WhatsappBot, error)
Connect builds whatsapp client and connects to it
func (*WhatsappBot) Register ¶
func (wb *WhatsappBot) Register()
Register registers a new event handler
Click to show internal directories.
Click to hide internal directories.