* refactor: simplified check_address (removed redundant states check)
* refactor: FSM resolve_state become public, removed redundant elif
* fix: resolve `filters.State` on `set_state`
* refactor: moved state resolution to storage
* fix: return default state on get_state
* feat: version number update
* feat: add InputInvoiceMessageContent type
* refactor: every param on a new line
* feat: add `max_tip_amount` and `suggested_tip_amounts` to `sendInvoice`
* feat: `start_parameter` of `sendInvoice` became optional
* refactor: reorder params
* feat: add `chat_type` to `InlineQuery`
* feat: add `VoiceChatScheduled`
* feat: add `voice_chat_scheduled` to `Message`
* fix: sendChatAction documentation update
* feat: add `record_voice` and `upload_voice` to `ChatActions`
* feat: allow sending invoices to group, supergroup and channel
* FIX TelegramObject.__setitem__
Removed 'raise KeyError(key)'
* Add warning and log in TelegramObject.__setitem__
When Telegram adds a new field -> Aiogram will warn about this.
* Removed warnings.warn
* Set logger to 'aiogram'
* Removed 'f' before string
* Update builtin.py
In StateFilter check if object is CallbackQuery because it has different structure compared to simple message. This change prevents https://github.com/aiogram/aiogram/issues/508 bug.
* Update aiogram/dispatcher/filters/builtin.py
Co-authored-by: Alex Root Junior <jroot.junior@gmail.com>
* fix bug in getting user_id, chat_id from context (need User.id for future use, not User object)
* requested changes: get current() can return None
add check this case
* version update
* added ChatMemberUpdated class
* added ChatInviteLink class
* 2.x version update
* update types added
* added methods createChatInviteLink, editChatInviteLink, revokeChatInviteLink
* Voice Chat types added
* added Message fields: voice_chat_started, voice_chat_ended, voice_chat_participants_invited
* can_manage_voice_chats added
* chat links shortcuts added
* bowling dice support
* reordered ChatMembers params (no changes)
* Added can_manage_chat to the class ChatMember and parameter can_manage_chat to the method promoteChatMember
* kick_chat_member refactored + docs update
* Added the parameter revoke_messages to the method kickChatMember
* updated kick_chat_member shortcut for Chat
* Added the type MessageAutoDeleteTimerChanged and the field message_auto_delete_timer_changed to the class Message
* feat: add methods to register my_chat_member and chat_member handlers
* Updated filters for new event types
Co-authored-by: Alex Root Junior <jroot.junior@gmail.com>
* Update installation instruction for Arch
The package is now available in the official repository.
* Add pacman command example
* Add an additional empty line