Merge pull request #291 from vgxbj/patch-1 Document `NewMessageToChannel` clearer
Kirill Zhuharev zhuharev@users.noreply.github.com
Thu, 19 Mar 2020 07:12:27 +0300
1 files changed,
2 insertions(+),
1 deletions(-)
jump to
M
helpers.go
→
helpers.go
@@ -29,7 +29,8 @@
// 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{