Alex
21f6cb9e83
Update tests and Throw InvalidArgumentException when building an empty comment body
2026-10-01 11:26:19 +03:00
Timofey
d9ec52fc53
Add disableLinkPreview to answerOnCallback
...
POST /answers got the disable_link_preview query parameter in August
2026. It is sent only when true, so default requests are unchanged.
2026-10-01 01:10:45 +05:00
Timofey
c8f3b8e33d
Add comments API
...
Schema 0.0.33 adds comments to channel posts:
- GET /messages/{messageId}/comments getComments()
- GET /messages/{messageId}/comments/{commentId} getCommentById()
- POST /messages/{messageId}/comments sendComment()
- PUT /messages/{messageId}/comments editComment()
- DELETE /messages/{messageId}/comments deleteComment()
Comments get their own models (CommentMessage, CommentMessageBody,
CommentLinkedMessage): unlike Message they have no attachments and
no public URL. README coverage map and docs updated.
2026-10-01 01:10:45 +05:00
Timofey
ca5ed4c100
Add editBotCommands for PATCH /me/commands, deprecate editBotInfo
...
The API no longer accepts PATCH /me: it answers "Path /me is not
recognized", so editBotInfo() fails, including for commands. Commands
now have their own endpoint, PATCH /me/commands (editMyCommands in the
official schema); bot name, description and photo are edited on the
MAX partner platform.
- Api::editBotCommands(BotCommand[]): BotCommandsInfo
- BotCommandsInfo model and ModelFactory::createBotCommandsInfo()
- editBotInfo() and BotPatch marked @deprecated
- README coverage map and docs updated
2026-10-01 01:10:28 +05:00
Alex
3d958f3f92
Update tests
2026-04-26 20:28:07 +03:00
Alex
efd6261490
Added chat admin permissions
2026-04-15 22:10:15 +03:00
Alex
67463a6b64
Replacing the User object with UserWithPhoto #22
2025-12-19 13:30:36 +03:00
Alex
3c6da8e8f6
Added MessageButton & ChatAdminPermission::EditLink & alias in ChatAdmin & participants in Chat & first_name in BotPatch
2025-12-18 19:50:58 +03:00
Alex
a94dfe0df4
Silent mode for errors of unsupported event types #15
2025-12-01 20:11:47 +03:00
Alex
da7a07145b
Fix send message response object
2025-10-20 21:27:54 +03:00
Alex
cb8ad3f738
Added resumable upload tests
2025-08-26 21:08:07 +03:00
Alex
0f007bf94e
Added resumable upload tests
2025-08-26 20:55:45 +03:00
Alex
3127f86c54
Added resumable upload
2025-08-25 23:11:06 +03:00
Alex
92c8f4cd94
Fix upload files
2025-08-20 23:22:18 +03:00
Alex
de3a67bee7
Documentation & rename deleteAdmins to deleteAdmin
2025-08-17 22:40:21 +03:00
Alex
00da3af39d
Documentation and some fix
2025-08-15 20:17:30 +03:00
Alex
9cd5dd2c48
Refactoring update dispatchers
2025-08-08 22:51:35 +03:00
Alex
ca13096ec2
Added PSR LoggerInterface
2025-08-07 19:04:07 +03:00
Alex
c5d55a5c0f
Added DataAttachment & LinkedMessage & Markups
2025-08-03 15:07:05 +03:00
Alex
51b105b847
Added ChatButton & ReplyButtons
2025-08-02 09:24:11 +03:00
Alex
f5acd0ee88
Added editBotInfo & editChat & getVideoAttachmentDetails
2025-08-01 08:42:39 +03:00
Alex
8fa63fa10b
Added addAdmins & addMembers & editMessage & answerOnCallback
2025-07-31 09:31:33 +03:00
Alex
eb5f6c7bbe
Test fix
2025-07-30 09:00:24 +03:00
Alex
3810f340e9
Added getAdmins & deleteAdmins & getMembers & removeMember
2025-07-30 08:51:31 +03:00
Alex
46e7c2ef0a
Added pinMessage & getMessages & deleteMessage & getMessageById
2025-07-29 19:09:33 +03:00
Alex
a3dd4d9a29
Added getPinnedMessage & unpinMessage & getMembership & leaveChat
2025-07-28 18:57:27 +03:00
Alex
67ce2958a6
Added getChats & getChatByLink & deleteChat & sendAction
2025-07-27 09:13:55 +03:00
Alex
e80e1176a0
Added AudioAttachmentRequest & ContactAttachmentRequest & FileAttachmentRequest & LocationAttachmentRequest & ShareAttachmentRequest & StickerAttachmentRequest & VideoAttachmentRequest
2025-07-26 09:19:22 +03:00
Alex
06492a698f
Added BotRemovedFromChatUpdate & ChatTitleChangedUpdate & MessageChatCreatedUpdate & UserAddedToChatUpdate & UserRemovedFromChatUpdate
2025-07-25 08:34:38 +03:00
Alex
62c4b80fae
Tests
2025-07-23 09:01:48 +03:00
Alex
4c988c9005
Added getUpdates
2025-07-21 18:49:14 +03:00
Alex
07c6bb35b4
Added Chat
2025-07-20 14:17:19 +03:00
Alex
4661edffdf
Added PhotoAttachment
2025-07-19 15:40:42 +03:00
Alex
b9c04bed33
Added MessageLink & OpenAppButton
2025-07-18 08:39:17 +03:00
Alex
a7c948dd95
Added attachment CallbackButton
2025-07-15 19:12:42 +03:00
Alex
7a8a096b85
SendMessage method add sender
2025-07-14 19:01:42 +03:00
Alex
1ca860604c
SendMessage method add recipient
2025-07-13 15:01:05 +03:00
Alex
c8f87c70b6
Added sendMessage method
2025-07-12 21:39:16 +03:00
Alex
0c91886ff0
Refactoring
2025-07-11 20:33:26 +03:00
Alex
2b8a19cd3e
Added tests
2025-07-10 20:44:27 +03:00
Alex
341c1ab29b
Added unsubscribe method
2025-07-09 22:13:01 +03:00
Alex
bcd8a52d06
first commit
2025-07-06 18:52:32 +03:00