You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
inlineKeyboardMarkup parameters no longer accept arrays — use Keyboard or Keyboard::fromArray()
API paths now prefixed with /v1/
Duplicate commands in onCommand() now throw InvalidArgumentException
resolvePending() — validation changed from OR to XOR: passing both $userId and $everyone now throws \InvalidArgumentException (previously $userId was silently preferred); exception type changed from Exception to \InvalidArgumentException
sendFile() / sendVoice() — passing both $fileId and $filePath (or neither) now throws \InvalidArgumentException (previously both were silently accepted)
Command matching — /cmd no longer matches /cmdother; requires exact match or space/@ delimiter after command name
lastEventId initial value changed from 1 to 0
Exception handling in event polling narrowed — only NetworkExceptionInterface is caught and retried; TypeError and RequestExceptionInterface now propagate to the caller