Telegram::ClientGenerator
Generates HTTP client methods from API specification
Constants
FILE_ACCEPTING_METHODS = ["sendPhoto", "sendAudio", "sendDocument", "sendVideo", "sendAnimation", "sendVoice", "sendVideoNote", "sendMediaGroup", "setChatPhoto", "setStickerSetThumbnail", "uploadStickerFile", "addStickerToSet", "createNewStickerSet", "replaceStickerInSet", "setWebhook"] of String
List of Telegram Bot API methods that can accept file uploads This follows the same approach as Tourmaline for better accuracy
TYPE_RENAMES = {"File" => "TelegramFile"}
Rename map for conflicting type names (same as TypeGenerator)
Constructors
Instance methods
generate(spec : APISpec)
Sourceoutput_dir
Source