Creating chat bots

In U you can create your own bots that communicate with users, provide them with information and services. You can also create business bots that provide any commercial service.

A library is available for the Golang language, where you can find ready-made examples:

  • Basic. Shows how to create a bot in code.

  • Donation request bot. An example of how to make a bot that periodically asks subscribers to support the author of the channel (chat). Added protection against auto-spam.

  • Service provider. A bot that provides free services to users. Using the example of a bot that reports the current Crypton exchange rate.

Last updated