Commit Graph

26 Commits

Author SHA1 Message Date
Timofey 96dea75530 Deprecate what the API no longer has
Methods (per the API changelog and schema 0.0.33):
- getChats(): GET /chats is not supported since June 2026
- getChatByLink(), deleteChat(): no longer documented, absent from
  the schema
- addMembers(): POST /chats/{chatId}/members is limited since
  9 September 2026 and removed on 30 September 2026

Models and enums absent from schema 0.0.33: the chat inline button,
reply buttons and ReplyButtonType, Intent, MessageChatCreatedUpdate
and its handlers, Chat::$chatMessageId.

Only @deprecated tags and docs; nothing is removed, so existing code
keeps working until a major release. README coverage map updated.
2026-10-01 01:10:45 +05:00
Timofey 1bfeb17a15 Add fields and markup added in schema 0.0.33
- Recipient::$postId: the commented post, set for comments
- ContactAttachmentPayload::$hash: hash of the VCF info
- ChatPatch: document the description field (up to 16000 chars,
  empty string removes it)
- QuoteMarkup and MarkupType::Quote. createMarkupElement() threw
  "Unknown or unsupported markup type" on a quote block, so a message
  with a quote could not be parsed at all

New constructor parameters are optional and last, so existing
positional calls keep working; toArray() of these models now also
carries the new keys.
2026-10-01 01:10:45 +05:00
Semion Zuev d1351ab21b Merge branch 'BushlanovDev:master' into master 2026-09-09 14:53:36 +03:00
szuev 93169320f7 new update types 2026-09-09 14:51:50 +03:00
Alex 4516db5ffd Refactoring base url #38 2026-07-26 12:56:32 +03:00
Alexei Panov caecb3f444 add new chat admin permission constants 2026-07-22 23:08:31 +04:00
imperiumbee b726c96366 Merge branch 'BushlanovDev:master' into master 2026-04-25 18:41:05 +03:00
imperiumbee c41221cec7 New button type clipboard 2026-04-25 18:38:55 +03:00
Alex efd6261490 Added chat admin permissions 2026-04-15 22:10:15 +03:00
Alex 85231b0962 Removed deprecated DataAttachment 2026-03-21 09:44:40 +03:00
Alex 40742ddc60 Removed deprecated ReplyKeyboardAttachment #27 2026-03-20 22:55: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 cf415b70e9 Added DialogMuted & BotStopped update types 2025-12-02 20:00:34 +03:00
Alex 97d016055f fix #2 Error: Cannot instantiate abstract class AbstractAttachment после отправки номера телефона 2025-08-05 18:15:34 +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 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 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 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 45020eab52 Added getSubscriptions method 2025-07-07 21:05:18 +03:00