Change Message.application type to MessageApplication

Co-authored-by: Danny <1695103+Rapptz@users.noreply.github.com>
This commit is contained in:
Alex Nørgaard
2022-06-13 21:34:41 +01:00
committed by GitHub
parent 96e6261d61
commit 2b9e43dbf9
4 changed files with 81 additions and 9 deletions

View File

@ -1229,6 +1229,8 @@ The following changes have been made:
- :attr:`File.filename` will no longer be ``None``, in situations where previously this was the case the filename is set to `'untitled'`.
- :attr:`Message.application` will no longer be a raw `dict` of the API payload and now returns an instance of :class:`MessageApplication`.
:meth:`VoiceProtocol.connect` signature changes.
--------------------------------------------------