SpamAuthBot/internal/commands/start.go
2026-08-21 23:53:17 +03:00

15 lines
311 B
Go

package commands
import (
"context"
"github.com/go-telegram/bot"
"github.com/go-telegram/bot/models"
)
func StartCommand(ctx context.Context, b *bot.Bot, update *models.Update) {
b.SendMessage(ctx, &bot.SendMessageParams{
ChatID: update.Message.Chat.ID,
Text: "Hello, world!",
})
}