diff --git a/src/main.lua b/src/main.lua index 521e604..a15e5a5 100644 --- a/src/main.lua +++ b/src/main.lua @@ -9,7 +9,7 @@ __/ | |___/ - Version 3.2-0 + Version 3.3-0 Copyright (c) 2017-2026 Matthew Hesketh See LICENSE for details @@ -20,7 +20,7 @@ local ltn12 = require('ltn12') local json = require('dkjson') local config = require('telegram-bot-lua.config') -api.version = '3.2-0' +api.version = '3.3-0' function api.configure(token, debug) if not token or type(token) ~= 'string' then diff --git a/telegram-bot-lua-3.3-0.rockspec b/telegram-bot-lua-3.3-0.rockspec new file mode 100644 index 0000000..2c2e3d5 --- /dev/null +++ b/telegram-bot-lua-3.3-0.rockspec @@ -0,0 +1,65 @@ +package = "telegram-bot-lua" +version = "3.3-0" +source = { + url = "https://github.com/wrxck/telegram-bot-lua/archive/refs/tags/v3.3.tar.gz", + dir = "telegram-bot-lua-3.3" +} +description = { + summary = "A feature-filled Telegram bot API library", + detailed = "A feature-filled Telegram bot API library written in Lua, with Bot API 9.4 support.", + homepage = "https://github.com/wrxck/telegram-bot-lua", + maintainer = "Matthew Hesketh ", + license = "GPL-3" +} +supported_platforms = { + "linux", + "macosx", + "unix", + "bsd" +} +dependencies = { + "lua >= 5.1", + "dkjson >= 2.5-2", + "luasec >= 0.6-1", + "luasocket >= 3.0rc1-2", + "multipart-post >= 1.1-1", + "luautf8 >= 0.1.1-1", + "copas >= 4.0" +} +build = { + type = "builtin", + modules = { + ["telegram-bot-lua"] = "src/main.lua", + ["telegram-bot-lua.config"] = "src/config.lua", + ["telegram-bot-lua.handlers"] = "src/handlers.lua", + ["telegram-bot-lua.builders"] = "src/builders.lua", + ["telegram-bot-lua.helpers"] = "src/helpers.lua", + ["telegram-bot-lua.tools"] = "src/tools.lua", + ["telegram-bot-lua.utils"] = "src/utils.lua", + ["telegram-bot-lua.compat"] = "src/compat.lua", + ["telegram-bot-lua.core"] = "src/core.lua", + ["telegram-bot-lua.polyfill"] = "src/polyfill.lua", + ["telegram-bot-lua.async"] = "src/async.lua", + ["telegram-bot-lua.b64url"] = "src/b64url.lua", + ["telegram-bot-lua.methods.updates"] = "src/methods/updates.lua", + ["telegram-bot-lua.methods.messages"] = "src/methods/messages.lua", + ["telegram-bot-lua.methods.chat"] = "src/methods/chat.lua", + ["telegram-bot-lua.methods.members"] = "src/methods/members.lua", + ["telegram-bot-lua.methods.forum"] = "src/methods/forum.lua", + ["telegram-bot-lua.methods.stickers"] = "src/methods/stickers.lua", + ["telegram-bot-lua.methods.inline"] = "src/methods/inline.lua", + ["telegram-bot-lua.methods.payments"] = "src/methods/payments.lua", + ["telegram-bot-lua.methods.games"] = "src/methods/games.lua", + ["telegram-bot-lua.methods.passport"] = "src/methods/passport.lua", + ["telegram-bot-lua.methods.bot"] = "src/methods/bot.lua", + ["telegram-bot-lua.methods.gifts"] = "src/methods/gifts.lua", + ["telegram-bot-lua.methods.checklists"] = "src/methods/checklists.lua", + ["telegram-bot-lua.methods.stories"] = "src/methods/stories.lua", + ["telegram-bot-lua.methods.suggested_posts"] = "src/methods/suggested_posts.lua", + ["telegram-bot-lua.adapters"] = "src/adapters/init.lua", + ["telegram-bot-lua.adapters.db"] = "src/adapters/db.lua", + ["telegram-bot-lua.adapters.redis"] = "src/adapters/redis.lua", + ["telegram-bot-lua.adapters.llm"] = "src/adapters/llm.lua", + ["telegram-bot-lua.adapters.email"] = "src/adapters/email.lua" + } +}