Document `NewMessageToChannel` clearer
Xing GUO higuoxing@gmail.com
Tue, 31 Dec 2019 14:38:21 +0800
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{