This commit is contained in:
xeon 2026-08-21 23:53:17 +03:00
commit 973c19f148
7 changed files with 95 additions and 0 deletions

View file

@ -0,0 +1,15 @@
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!",
})
}