We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 32bf469 commit 6c0fcbaCopy full SHA for 6c0fcba
bot.go
@@ -125,6 +125,7 @@ func (b *Bot) NewChat(id string) *Chat {
125
// SendMessage sends a message, passed as an argument.
126
// This method fills the argument with ID of sent message and returns an error if any.
127
func (b *Bot) SendMessage(message *Message) error {
128
+ message.client = b.client
129
return message.Send()
130
}
131
0 commit comments