Commit graph

32 commits

Author SHA1 Message Date
netkas
646c77c4ba Move UpdateEvent to Events and remove unused import 2024-11-06 15:02:43 -05:00
netkas
2900b708da Handle exceptions in command and event handlers 2024-11-05 15:42:34 -05:00
netkas
87f9321280 Add abstract handle method in UpdateEvent 2024-11-04 15:19:29 -05:00
netkas
7623f488ee Rename UpdateEventType to EventType for consistency 2024-11-03 18:25:42 -05:00
netkas
73d14179b1 Rename EventType to UpdateEventType for clarity 2024-11-01 18:11:11 -04:00
netkas
95346f78cd Add UpdateEvent abstract class 2024-11-01 18:04:02 -04:00
netkas
3623b63eaa Add sendAudio method to Bot 2024-10-08 13:41:56 -04:00
netkas
a9a6d5a2b3 Add SendPhoto method for sending photos in TgBotLib 2024-10-08 13:09:53 -04:00
netkas
2e58fcf108 Add forwardMessages method for batch forwarding 2024-10-08 00:13:23 -04:00
netkas
d04d2b019e Minor correction 2024-10-07 13:04:02 -04:00
netkas
96797a17bc Add parameter retrieval methods to bot library 2024-10-07 11:53:39 -04:00
netkas
5703ce9987 Minor Correction 2024-10-06 18:50:26 -04:00
netkas
1e3824a87a Updated Methods 2024-09-30 12:22:12 -04:00
netkas
7aa6be4e9a Add unit tests and abstract bot method execution framework 2024-09-30 02:34:07 -04:00
5ec6f7271a
* Renamed namespace from \TgBotLib\Abstracts to \TgBotLib\Enums
* Updated class type to `final class` in `\TgBotLib\Enums > BotCommandScopeType`
 * Updated class type to `final class` in `\TgBotLib\Enums >  ChatActionType`
 * Updated class type to `final class` in `\TgBotLib\Enums > ChatMemberStatus`
 * Updated class type to `final class` in `\TgBotLib\Enums > ChatType`
 * Updated class type to `final class` in `\TgBotLib\Enums > EventType`
 * Updated class type to `final class` in `\TgBotLib\Enums > InlineQueryResultType`
 * Updated class type to `final class` in `\TgBotLib\Enums > InputMediaType`
 * Updated class type to `final class` in `\TgBotLib\Enums > InputButtonType`
 * Updated class type to `final class` in `\TgBotLib\Enums > MessageEntityType`
 * Updated class type to `final class` in `\TgBotLib\Enums > PassportElementType`
 * Updated class type to `final class` in `\TgBotLib\Enums > PollType`
 * Updated class type to `final class` in `\TgBotLib\Enums > StickerFormat`
 * Updated class type to `final class` in `\TgBotLib\Enums > StickerType`
 * Updated class type to `final class` in `\TgBotLib\Enums > ThumbnailMimeType`
 * Updated class type to `final class` in `\TgBotLib\Enums > UpdateEventType`
2023-08-09 15:32:45 -04:00
bcbb742b9f Added class \TgBotLib\Objects\Telegram\InlineQueryResult which is the base class for all inline query results, additionally added \TgBotLib\Abstracts\InlineQueryResultType to represent the type of inline query result object.
https://git.n64.cc/nosial/libs/tgbot/-/issues/3
2023-04-24 19:22:06 -04:00
1707a44796 Added abstract class \TgBotLib\Abstracts\ThumbnailMimeType to represent the mime type of thumbnail, photo, or a file / sticker thumbnail. 2023-04-23 18:24:42 -04:00
Netkas
4dc5e9e20d Added abstract class \TgBotLib\Abstracts > StickerFormat to represent a sticker format ("static", "animated" or "video")
https://git.n64.cc/nosial/libs/tgbot/-/issues/2
2023-04-10 17:37:43 -04:00
Netkas
5aa2a4928e Added ChatActionType 2023-02-26 17:42:42 -05:00
Netkas
040426a63c Added single-threaded and multi-threaded example 2023-02-20 21:27:43 -05:00
Netkas
e3ed0529b9 Minor Changes 2023-02-20 16:06:11 -05:00
Netkas
11e60c56c4 Added event handlers 2023-02-19 21:58:08 -05:00
Netkas
2362365865 Added CommandHandler 2023-02-19 17:25:59 -05:00
Netkas
c4e12fb39c Added \TgBotLib\Abstracts > InputMediaType 2023-02-14 14:33:58 -05:00
Netkas
46003c317b Added \TgBotLib\Abstracts > MenuButtonType 2023-02-14 14:33:49 -05:00
Netkas
640210f931 Added \TgBotLib\Abstracts > PassportElementType 2023-02-14 14:33:39 -05:00
Netkas
4fbe285104 Added \TgBotLib\Abstracts > StickerType 2023-02-14 13:08:16 -05:00
Netkas
6d7cfb7de4 Added \TgBotLib\Abstracts > BotCommandScopeType 2023-02-13 20:14:26 -05:00
Netkas
015d9b2de0 Added \TgBotLib\Abstracts > ChatMemberStatus 2023-02-13 18:32:03 -05:00
Netkas
8bfc2e681f Added \TgBotLib\Abstracts > PollType 2023-02-12 17:36:46 -05:00
Netkas
2e058e9d9b Added \TgBotLib\Abstracts > MessageEntityType 2023-02-12 17:28:49 -05:00
Netkas
55fb583b6c Added \TgBotLib\Objects > Chat 2023-02-12 14:58:38 -05:00