NicoNex / echotron

An elegant and concurrent library for the Telegram bot API in Go.
https://t.me/s/echotronnews
GNU Lesser General Public License v3.0
363 stars 26 forks source link

Can API methods be called concurrently? #36

Closed JoshuaDietz closed 1 year ago

JoshuaDietz commented 1 year ago

Hi, I just wanted to make sure if API Methods like SendMessage or BanChatMember can be called concurrently? I took a quick look on the source code and it looks like they can but by go convention this should be documented for methods, which it is not. That's why I wanted to make sure.

Kind regards Joshua

NicoNex commented 1 year ago

Hi, yes all API methods can definitely be called concurrently. Also thanks for the tip, we will document the feature.