Nadia.API

Provides basic functionalities for Telegram Bot API.

Summary

Generic method to call Telegram Bot API

Functions

request(method, options \\ [], file_field \\ nil)

Generic method to call Telegram Bot API.

Args:

  • method - name of API method
  • options - orddict of options
  • file_field - specify the key of file_field in options when sending files