all repos — telegram-bot-api @ d944d68fe6ebbde4aaafa592d8d0a2b935548cf8

Golang bindings for the Telegram Bot API

Document `NewMessageToChannel` clearer
Xing GUO higuoxing@gmail.com
Tue, 31 Dec 2019 14:38:21 +0800
commit

d944d68fe6ebbde4aaafa592d8d0a2b935548cf8

parent

b33efeebc78563cfeddf19563781cffb16aaabdf

1 files changed, 2 insertions(+), 1 deletions(-)

jump to
M helpers.gohelpers.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{