mirror of
https://github.com/HugeFrog24/go-telegram-bot.git
synced 2026-04-30 23:32:19 +00:00
Style and security
This commit is contained in:
Executable → Regular
+1
-1
@@ -11,6 +11,6 @@ import (
|
||||
// TelegramClient defines the methods required from the Telegram bot.
|
||||
type TelegramClient interface {
|
||||
SendMessage(ctx context.Context, params *bot.SendMessageParams) (*models.Message, error)
|
||||
SetMyCommands(ctx context.Context, params *bot.SetMyCommandsParams) (bool, error)
|
||||
Start(ctx context.Context)
|
||||
// Add other methods if needed.
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user