Files
go-telegram-bot/telegram_client.go
HugeFrog24 547dc8ca1a Upd deps
2026-02-11 18:39:02 +01:00

17 lines
382 B
Go

// telegram_client.go
package main
import (
"context"
"github.com/go-telegram/bot"
"github.com/go-telegram/bot/models"
)
// TelegramClient defines the methods required from the Telegram bot.
type TelegramClient interface {
SendMessage(ctx context.Context, params *bot.SendMessageParams) (*models.Message, error)
Start(ctx context.Context)
// Add other methods if needed.
}