netkas
96cec88e74
Implement method overloading and argument parsing for Bot class
2024-10-07 11:53:16 -04:00
netkas
23aa1ace92
Removed Unused Imports
2024-10-06 19:01:42 -04:00
netkas
c645d6a727
Refactor sendRequest method to use method enums
2024-10-06 18:59:59 -04:00
netkas
bf0b8268de
Updated Bot
2024-10-06 16:13:03 -04:00
netkas
3dd46c8d27
Update bot token handling and refactor Bot class.
2024-09-30 02:35:42 -04:00
netkas
55e65e8948
Moved Types to their own namespace
2024-09-29 21:49:10 -04:00
54e81b4137
* Fixed type in \TgBotLib\Objects\Telegram > Message > fromArray()
where forum_topic_created
is being parsed for forum_topic_edited instead of forum_topic_edited
...
Updated README.md to reflect the new changes with TamerLib 2.+
2023-08-10 14:25:05 -04:00
fbc472d8de
Updated method \TgBotLib > Bot > handleGetUpdates()
to handle exceptions
2023-08-09 20:02:59 -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
26c0a197dc
Updated documentation for \TgBotLib\Bot::editMessageMedia
...
https://git.n64.cc/nosial/libs/tgbot/-/issues/3
2023-04-27 14:49:42 -04:00
3d6cc15894
Added method \TgBotLib\Bot::answerWebAppQuery
to answer a callback query sent from a web app, which returns the newly added \TgBotLib\Objects\Telegram\SentWebAppMessage
object on success.
...
https://git.n64.cc/nosial/libs/tgbot/-/issues/3
2023-04-27 14:32:32 -04:00
Netkas
fb1a844526
Added method \TgBotLib\Bot > setStickerMaskPosition()
to change the mask position of a mask sticker. See [setStickerMaskPosition]( https://core.telegram.org/bots/api#setstickermaskposition ) for more information.
...
https://git.n64.cc/nosial/libs/tgbot/-/issues/2
2023-04-10 20:58:16 -04:00
Netkas
54fc17b549
Added method \TgBotLib\Bot > setStickerKeywords()
to set the list of emojis for a sticker set. See [setStickerKeywords]( https://core.telegram.org/bots/api#setstickerkeywords ) for more information.
...
https://git.n64.cc/nosial/libs/tgbot/-/issues/2
2023-04-10 20:56:03 -04:00
Netkas
174210da67
Added method \TgBotLib\Bot > setStickerEmojiList()
to set the list of emojis for a sticker set. See [setStickerEmojiList]( https://core.telegram.org/bots/api#setstickeremojilist ) for more information.
...
https://git.n64.cc/nosial/libs/tgbot/-/issues/2
2023-04-10 20:50:50 -04:00
Netkas
d171c61e7f
Added method \TgBotLib\Bot > deleteStickerSet()
to delete a sticker set. See [deleteStickerSet]( https://core.telegram.org/bots/api#deletestickerset ) for more information.
...
https://git.n64.cc/nosial/libs/tgbot/-/issues/2
2023-04-10 20:48:06 -04:00
Netkas
5283416292
Added method \TgBotLib\Bot > setStickerSetTitle()
to set the title of a sticker set. See [setStickerSetTitle]( https://core.telegram.org/bots/api#setstickersettitle ) for more information.
...
https://git.n64.cc/nosial/libs/tgbot/-/issues/2
2023-04-10 20:34:14 -04:00
Netkas
917077c19a
Added method \TgBotLib\Bot > setStickerSetThumbnail()
to set the thumbnail of a sticker set. See [setStickerSetThumbnail]( https://core.telegram.org/bots/api#setstickersetthumbnail ) for more information.
...
https://git.n64.cc/nosial/libs/tgbot/-/issues/2
2023-04-10 19:42:14 -04:00
Netkas
007304c8ca
Added method \TgBotLib\Bot > setCustomEmojiStickerSetThumbnail()
to set the thumbnail of a sticker set. See [setCustomEmojiStickerSetThumbnail]( https://core.telegram.org/bots/api#setcustomemojistickersetthumbnail ) for more information.
...
https://git.n64.cc/nosial/libs/tgbot/-/issues/2
2023-04-10 17:43:37 -04:00
Netkas
595872c997
Added method \TgBotLib\Bot > uploadStickerFile()
to upload a sticker file with a sticker for later use in createNewStickerSet
and addStickerToSet
methods (can be used multiple times). See [uploadStickerFile]( https://core.telegram.org/bots/api#uploadstickerfile ) for more information.
...
https://git.n64.cc/nosial/libs/tgbot/-/issues/2
2023-04-10 17:39:34 -04:00
Netkas
37a136adce
Added method \TgBotLib\Bot > addStickerToSet()
to add a new sticker to a set created by the bot. See [addStickerToSet]( https://core.telegram.org/bots/api#addstickertoset ) for more information.
...
https://git.n64.cc/nosial/libs/tgbot/-/issues/2
2023-04-10 16:10:19 -04:00
Netkas
c17773e5d2
Added method \TgBotLib\Bot > createNewStickerSet()
to create a new sticker set owned by a user. See [createNewStickerSet]( https://core.telegram.org/bots/api#createnewstickerset ) for more information.
2023-04-07 01:37:01 -04:00
Netkas
8965ac3aff
Added method \TgBotLib\Bot > sendSticker()
to send a sticker to a chat. See [sendSticker]( https://core.telegram.org/bots/api#sendsticker ) for more information.
2023-04-06 13:54:48 -04:00
Netkas
38012104ae
Added the ability to get the current bot short description in the given language as the class [BotShortDescription]( https://core.telegram.org/bots/api#botshortdescription ) using the method \TgBotLib\Bot > getMyShortDescription()
see [getMyShortDescription]( https://core.telegram.org/bots/api#getmyshortdescription ) for more information.
2023-04-06 13:47:53 -04:00
Netkas
4869c439ff
Minor corrections to the PhpDoc in \TgBotLib > Bot > getMyDescription
2023-04-06 13:40:39 -04:00
Netkas
8730f82abf
Added the ability to set different bot short descriptions for different user languages using the method \TgBotLib\Bot > setMyShortDescription()
see [setMyShortDescription]( https://core.telegram.org/bots/api#setmyshortdescription ) for more information.
2023-04-06 13:39:51 -04:00
Netkas
ccd910938b
Added the ability to get the current bot description in the given language as the class [BotDescription]( https://core.telegram.org/bots/api#botdescription ) using the method \TgBotLib\Bot > getMyDescription()
2023-04-06 13:33:29 -04:00
Netkas
7252854c44
Added the ability to set different bot descriptions for different user languages using the method \TgBotLib\Bot > setMyDescription()
2023-04-06 13:22:09 -04:00
Netkas
cc22e23a06
Removed unused destruct()
2023-02-28 22:18:43 -05:00
Netkas
8900abeb4a
Updated update handler to log events of handles
2023-02-26 19:23:15 -05:00
Netkas
84cc1ba93b
Added TempFile usage
2023-02-25 02:25:38 -05:00
Netkas
da6abceed2
Minor Changes
2023-02-20 21:15:35 -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
97667b7618
Added Update methods
2023-02-19 16:52:27 -05:00
Netkas
62ce12428b
Added additional methods
2023-02-19 16:40:12 -05:00
Netkas
77c49019f0
Additional Changes
2023-02-18 20:49:27 -05:00
Netkas
5c97042c2a
Updated types
2023-02-16 21:55:04 -05:00
Netkas
0bf33b56dc
Added more methods to \TgBotLib > Bot
2023-02-16 16:27:30 -05:00
Netkas
759928d63a
Added a bunch of methods and documentation, file uploads are broken at the moment.
2023-02-14 23:26:41 -05:00
Netkas
34bcd7c1ef
Added method \TgBotLib > Bot > getMe()
2023-02-14 21:15:07 -05:00
Netkas
1c32980541
Added method \TgBotLib > Bot > getWebhookInfo()
2023-02-14 21:14:18 -05:00
Netkas
5064aed99f
Added \TgBotLib > Bot > deleteWebhook()
2023-02-14 21:04:16 -05:00
Netkas
998b7825d1
Updated \TgBotLib > Bot > setWebhook()
2023-02-14 21:03:13 -05:00
Netkas
de16477f8a
Minor changes
2023-02-14 21:02:37 -05:00
Netkas
d1609e36bd
Added \TgBotLib > Bot > setWebhook()
2023-02-14 21:00:59 -05:00
Netkas
7acd2499cc
Updated \TgBotLib > Bot
2023-02-14 20:55:34 -05:00
Netkas
45edd758a1
Removed bot name, we're going old-school.
2023-02-14 17:36:21 -05:00
Netkas
d3e98b1f23
Added \TgBotLib\Bot
2023-02-12 13:43:38 -05:00