Fix typos in comments
This commit is contained in:
parent
537c005643
commit
fd903f8182
6 changed files with 7 additions and 7 deletions
|
@ -103,7 +103,7 @@ things. We can add this code in right after the line enabling debug mode.
|
|||
}
|
||||
```
|
||||
|
||||
Congradulations! You've made your very own bot!
|
||||
Congratulations! You've made your very own bot!
|
||||
|
||||
Now that you've got some of the basics down, we can start talking about how the
|
||||
library is structured and more advanced features.
|
||||
|
|
|
@ -43,7 +43,7 @@ pull request!
|
|||
|
||||
- By default, bots only get updates directly addressed to them. If you need to
|
||||
get all messages, you must disable privacy mode with Botfather. Bots already
|
||||
added to groups will need to be removed and readded for the changes to take
|
||||
added to groups will need to be removed and re-added for the changes to take
|
||||
effect. You can read more on the [Telegram Bot API docs][api-docs].
|
||||
|
||||
[api-docs]: https://core.telegram.org/bots/faq#what-messages-will-my-bot-get
|
||||
|
|
|
@ -74,8 +74,8 @@ mediaGroup := NewMediaGroup(ChatID, []interface{}{
|
|||
})
|
||||
```
|
||||
|
||||
A `MediaGroupConfig` stores all of the media in an array of interfaces. We now
|
||||
have all of the data we need to upload, but how do we figure out field names for
|
||||
A `MediaGroupConfig` stores all the media in an array of interfaces. We now
|
||||
have all the data we need to upload, but how do we figure out field names for
|
||||
uploads? We didn't specify `attach://unique-file` anywhere.
|
||||
|
||||
When the library goes to upload the files, it looks at the `params` and `files`
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue