I need to make a Telegram bot for my work. I decided to make it in Rye ... this is first example to see how it works. Rye uses the Golang's telegram bot library.
Telegram has very rich support for bots, not just regular "chat". It also supports inline interaction, special "keyboards", etc ...
The TinyGo experiment so far hasn't brought any fruits. After tons of pruning of all possible problematic code and dependencies we go to a .wasm binary that was smaller than if the same code was compiled by the official Go compiler, but only by 10 percent.
Rye is a Golang project, and Golang moved to Go.mod system for dependency and module management. Rye seems to be a little specific here, since it's dependencies are deeply dependent on the build flags. I was looking for a solution to this inside Go.mod system but couldn't find any, so I asked a question on Go forum yesterday. We will see how it goes ...
Komentarji
Objavite komentar