From d944d68fe6ebbde4aaafa592d8d0a2b935548cf8 Mon Sep 17 00:00:00 2001 From: Xing GUO Date: Tue, 31 Dec 2019 14:38:21 +0800 Subject: [PATCH] Document `NewMessageToChannel` clearer --- helpers.go | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/helpers.go b/helpers.go index 3dabe11..294f31b 100644 --- a/helpers.go +++ b/helpers.go @@ -29,7 +29,8 @@ func NewDeleteMessage(chatID int64, messageID int) DeleteMessageConfig { // NewMessageToChannel creates a new Message that is sent to a channel // by username. // -// username is the username of the channel, text is the message text. +// username is the username of the channel, text is the message text, +// and the username should be in the form of `@username`. func NewMessageToChannel(username string, text string) MessageConfig { return MessageConfig{ BaseChat: BaseChat{