diff options
| author | Shulhan <ms@kilabit.info> | 2023-09-11 01:42:45 +0700 |
|---|---|---|
| committer | Shulhan <ms@kilabit.info> | 2023-09-11 02:26:33 +0700 |
| commit | 09fb3c1ee23d376bd6e30843363222ca79a97961 (patch) | |
| tree | 51d36938f8cbd9f301100c5a7383f1e6170211d3 /api | |
| parent | e26e08e9005eff284c439aa426f2f3c371b5a531 (diff) | |
| download | pakakeh.go-09fb3c1ee23d376bd6e30843363222ca79a97961.tar.xz | |
telegram/bot: add missing comment to type MessageForward and UpdateHandler
Diffstat (limited to 'api')
| -rw-r--r-- | api/telegram/bot/message_forward.go | 1 | ||||
| -rw-r--r-- | api/telegram/bot/options.go | 1 |
2 files changed, 2 insertions, 0 deletions
diff --git a/api/telegram/bot/message_forward.go b/api/telegram/bot/message_forward.go index 87914b53..d6bf22f2 100644 --- a/api/telegram/bot/message_forward.go +++ b/api/telegram/bot/message_forward.go @@ -4,6 +4,7 @@ package bot +// MessageForward define the content for forwarded message. type MessageForward struct { // Optional. For messages forwarded from channels, identifier of the // original message in the channel. diff --git a/api/telegram/bot/options.go b/api/telegram/bot/options.go index 3fe1a536..36b6f7fb 100644 --- a/api/telegram/bot/options.go +++ b/api/telegram/bot/options.go @@ -28,6 +28,7 @@ const ( defListenAddressTLS = ":443" ) +// UpdateHandler define the handler when Bot receiving updates. type UpdateHandler func(update Update) // Options to create new Bot. |
