Skip to content

Commit

Permalink
* TDLib binaries upgraded to latest [available version](pylakey/td@6b…
Browse files Browse the repository at this point in the history
…d7e04) (1.7.10 from now)

* API types and functions regenerated

* Bumped version

* docstrings are have been updated somewhere
  • Loading branch information
pylakey committed Dec 12, 2021
1 parent 8ef298a commit f34e93f
Show file tree
Hide file tree
Showing 63 changed files with 972 additions and 373 deletions.
10 changes: 10 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,15 @@
# aiotdlib CHANGELOG

### 0.14.0 - TDLib 1.7.10

#### Updated

* TDLib binaries upgraded to latest [available version](https://github.com/pylakey/td/commit/6bd7e04875f0a323fc316d5be73358330134c9c8) (1.7.10 from now)

* API types and functions regenerated

> This update contains some breaking API changes!
### 0.13.2 - Bugfix

#### Updated
Expand Down
6 changes: 3 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,15 +4,15 @@
[![PyPI pyversions](https://img.shields.io/pypi/pyversions/aiotdlib.svg)](https://pypi.python.org/pypi/aiotdlib/)
[![PyPI license](https://img.shields.io/pypi/l/aiotdlib.svg)](https://pypi.python.org/pypi/aiotdlib/)

> This wrapper is actual for **[TDLib v1.7.8 (eb346f5)](https://github.com/pylakey/td/commit/eb346f5573040803d4424049dd2ba8aaa039fa56)**
> This wrapper is actual for **[TDLib v1.7.10 (6bd7e04)](https://github.com/pylakey/td/commit/6bd7e04875f0a323fc316d5be73358330134c9c8)**
>
> This package includes prebuilt TDLib binaries for macOS and Debian Buster.
> You can use your own binary by passing `library_path` argument to `Client` class constructor. Make sure it's built from [this commit](https://github.com/tdlib/td/commit/eb346f5573040803d4424049dd2ba8aaa039fa56). Compatibility with other versions of library is not guaranteed.
> You can use your own binary by passing `library_path` argument to `Client` class constructor. Make sure it's built from [this commit](https://github.com/tdlib/td/commit/6bd7e04875f0a323fc316d5be73358330134c9c8). Compatibility with other versions of library is not guaranteed.
## Features

* All types and functions are generated automatically
from [tl schema](https://github.com/tdlib/td/blob/eb346f5573040803d4424049dd2ba8aaa039fa56/td/generate/scheme/td_api.tl)
from [tl schema](https://github.com/tdlib/td/blob/6bd7e04875f0a323fc316d5be73358330134c9c8/td/generate/scheme/td_api.tl)
* All types and functions come with validation and good IDE type hinting (thanks
to [Pydantic](https://github.com/samuelcolvin/pydantic))
* A set of high-level API methods which makes work with tdlib much simpler
Expand Down
2 changes: 1 addition & 1 deletion aiotdlib/__init__.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
__version__ = "0.13.2"
__version__ = "0.14.0"

from .client import (
Client,
Expand Down
36 changes: 25 additions & 11 deletions aiotdlib/api/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,7 @@
'authenticationCodeType': AuthenticationCodeType,
'authenticationCodeTypeCall': AuthenticationCodeTypeCall,
'authenticationCodeTypeFlashCall': AuthenticationCodeTypeFlashCall,
'authenticationCodeTypeMissedCall': AuthenticationCodeTypeMissedCall,
'authenticationCodeTypeSms': AuthenticationCodeTypeSms,
'authenticationCodeTypeTelegramMessage': AuthenticationCodeTypeTelegramMessage,
'authorizationState': AuthorizationState,
Expand Down Expand Up @@ -122,6 +123,7 @@
'chatActionBar': ChatActionBar,
'chatActionBarAddContact': ChatActionBarAddContact,
'chatActionBarInviteMembers': ChatActionBarInviteMembers,
'chatActionBarJoinRequest': ChatActionBarJoinRequest,
'chatActionBarReportAddBlock': ChatActionBarReportAddBlock,
'chatActionBarReportSpam': ChatActionBarReportSpam,
'chatActionBarReportUnrelatedLocation': ChatActionBarReportUnrelatedLocation,
Expand All @@ -131,6 +133,7 @@
'chatEvent': ChatEvent,
'chatEventAction': ChatEventAction,
'chatEventDescriptionChanged': ChatEventDescriptionChanged,
'chatEventHasProtectedContentToggled': ChatEventHasProtectedContentToggled,
'chatEventInviteLinkDeleted': ChatEventInviteLinkDeleted,
'chatEventInviteLinkEdited': ChatEventInviteLinkEdited,
'chatEventInviteLinkRevoked': ChatEventInviteLinkRevoked,
Expand Down Expand Up @@ -245,7 +248,6 @@
'checkStickerSetNameResultNameOccupied': CheckStickerSetNameResultNameOccupied,
'checkStickerSetNameResultOk': CheckStickerSetNameResultOk,
'closedVectorPath': ClosedVectorPath,
'colorReplacement': ColorReplacement,
'connectedWebsite': ConnectedWebsite,
'connectedWebsites': ConnectedWebsites,
'connectionState': ConnectionState,
Expand Down Expand Up @@ -333,6 +335,7 @@
'inlineKeyboardButtonTypeLoginUrl': InlineKeyboardButtonTypeLoginUrl,
'inlineKeyboardButtonTypeSwitchInline': InlineKeyboardButtonTypeSwitchInline,
'inlineKeyboardButtonTypeUrl': InlineKeyboardButtonTypeUrl,
'inlineKeyboardButtonTypeUser': InlineKeyboardButtonTypeUser,
'inlineQueryResult': InlineQueryResult,
'inlineQueryResultAnimation': InlineQueryResultAnimation,
'inlineQueryResultArticle': InlineQueryResultArticle,
Expand Down Expand Up @@ -789,13 +792,11 @@
'searchMessagesFilter': SearchMessagesFilter,
'searchMessagesFilterAnimation': SearchMessagesFilterAnimation,
'searchMessagesFilterAudio': SearchMessagesFilterAudio,
'searchMessagesFilterCall': SearchMessagesFilterCall,
'searchMessagesFilterChatPhoto': SearchMessagesFilterChatPhoto,
'searchMessagesFilterDocument': SearchMessagesFilterDocument,
'searchMessagesFilterEmpty': SearchMessagesFilterEmpty,
'searchMessagesFilterFailedToSend': SearchMessagesFilterFailedToSend,
'searchMessagesFilterMention': SearchMessagesFilterMention,
'searchMessagesFilterMissedCall': SearchMessagesFilterMissedCall,
'searchMessagesFilterPhoto': SearchMessagesFilterPhoto,
'searchMessagesFilterPhotoAndVideo': SearchMessagesFilterPhotoAndVideo,
'searchMessagesFilterPinned': SearchMessagesFilterPinned,
Expand Down Expand Up @@ -836,6 +837,7 @@
'suggestedActionConvertToBroadcastGroup': SuggestedActionConvertToBroadcastGroup,
'suggestedActionEnableArchiveAndMuteNewChats': SuggestedActionEnableArchiveAndMuteNewChats,
'suggestedActionSeeTicksHint': SuggestedActionSeeTicksHint,
'suggestedActionSetPassword': SuggestedActionSetPassword,
'supergroup': Supergroup,
'supergroupFullInfo': SupergroupFullInfo,
'supergroupMembersFilter': SupergroupMembersFilter,
Expand Down Expand Up @@ -914,10 +916,13 @@
'updateBasicGroup': UpdateBasicGroup,
'updateBasicGroupFullInfo': UpdateBasicGroupFullInfo,
'updateCall': UpdateCall,
'updateChatAction': UpdateChatAction,
'updateChatActionBar': UpdateChatActionBar,
'updateChatDefaultDisableNotification': UpdateChatDefaultDisableNotification,
'updateChatDefaultMessageSenderId': UpdateChatDefaultMessageSenderId,
'updateChatDraftMessage': UpdateChatDraftMessage,
'updateChatFilters': UpdateChatFilters,
'updateChatHasProtectedContent': UpdateChatHasProtectedContent,
'updateChatHasScheduledMessages': UpdateChatHasScheduledMessages,
'updateChatIsBlocked': UpdateChatIsBlocked,
'updateChatIsMarkedAsUnread': UpdateChatIsMarkedAsUnread,
Expand Down Expand Up @@ -992,7 +997,6 @@
'updateUnreadChatCount': UpdateUnreadChatCount,
'updateUnreadMessageCount': UpdateUnreadMessageCount,
'updateUser': UpdateUser,
'updateUserChatAction': UpdateUserChatAction,
'updateUserFullInfo': UpdateUserFullInfo,
'updateUserPrivacySettingRules': UpdateUserPrivacySettingRules,
'updateUserStatus': UpdateUserStatus,
Expand Down Expand Up @@ -1081,12 +1085,12 @@
'AnswerInlineQuery',
'AnswerPreCheckoutQuery',
'AnswerShippingQuery',
'ApproveChatJoinRequest',
'Audio',
'AuthenticationCodeInfo',
'AuthenticationCodeType',
'AuthenticationCodeTypeCall',
'AuthenticationCodeTypeFlashCall',
'AuthenticationCodeTypeMissedCall',
'AuthenticationCodeTypeSms',
'AuthenticationCodeTypeTelegramMessage',
'AuthorizationState',
Expand Down Expand Up @@ -1196,6 +1200,7 @@
'ChatActionBar',
'ChatActionBarAddContact',
'ChatActionBarInviteMembers',
'ChatActionBarJoinRequest',
'ChatActionBarReportAddBlock',
'ChatActionBarReportSpam',
'ChatActionBarReportUnrelatedLocation',
Expand All @@ -1205,6 +1210,7 @@
'ChatEvent',
'ChatEventAction',
'ChatEventDescriptionChanged',
'ChatEventHasProtectedContentToggled',
'ChatEventInviteLinkDeleted',
'ChatEventInviteLinkEdited',
'ChatEventInviteLinkRevoked',
Expand Down Expand Up @@ -1343,7 +1349,6 @@
'CloseChat',
'CloseSecretChat',
'ClosedVectorPath',
'ColorReplacement',
'ConfirmQrCodeAuthentication',
'ConnectedWebsite',
'ConnectedWebsites',
Expand Down Expand Up @@ -1375,7 +1380,6 @@
'Date',
'DateRange',
'DatedFile',
'DeclineChatJoinRequest',
'DeepLinkInfo',
'DeleteAccount',
'DeleteAllCallMessages',
Expand All @@ -1384,7 +1388,7 @@
'DeleteChatFilter',
'DeleteChatHistory',
'DeleteChatMessagesByDate',
'DeleteChatMessagesFromUser',
'DeleteChatMessagesBySender',
'DeleteChatReplyMarkup',
'DeleteCommands',
'DeleteFile',
Expand Down Expand Up @@ -1489,6 +1493,7 @@
'GetCallbackQueryMessage',
'GetChat',
'GetChatAdministrators',
'GetChatAvailableMessageSenders',
'GetChatEventLog',
'GetChatFilter',
'GetChatFilterDefaultIconName',
Expand Down Expand Up @@ -1643,6 +1648,7 @@
'InlineKeyboardButtonTypeLoginUrl',
'InlineKeyboardButtonTypeSwitchInline',
'InlineKeyboardButtonTypeUrl',
'InlineKeyboardButtonTypeUser',
'InlineQueryResult',
'InlineQueryResultAnimation',
'InlineQueryResultArticle',
Expand Down Expand Up @@ -2039,6 +2045,8 @@
'PollType',
'PollTypeQuiz',
'PollTypeRegular',
'ProcessChatJoinRequest',
'ProcessChatJoinRequests',
'ProcessPushNotification',
'ProfilePhoto',
'Proxies',
Expand Down Expand Up @@ -2171,13 +2179,11 @@
'SearchMessagesFilter',
'SearchMessagesFilterAnimation',
'SearchMessagesFilterAudio',
'SearchMessagesFilterCall',
'SearchMessagesFilterChatPhoto',
'SearchMessagesFilterDocument',
'SearchMessagesFilterEmpty',
'SearchMessagesFilterFailedToSend',
'SearchMessagesFilterMention',
'SearchMessagesFilterMissedCall',
'SearchMessagesFilterPhoto',
'SearchMessagesFilterPhotoAndVideo',
'SearchMessagesFilterPinned',
Expand Down Expand Up @@ -2224,6 +2230,7 @@
'SetBio',
'SetBotUpdatesStatus',
'SetChatClientData',
'SetChatDefaultMessageSender',
'SetChatDescription',
'SetChatDiscussionGroup',
'SetChatDraftMessage',
Expand All @@ -2245,6 +2252,7 @@
'SetGroupCallParticipantIsSpeaking',
'SetGroupCallParticipantVolumeLevel',
'SetGroupCallTitle',
'SetInactiveSessionTtl',
'SetInlineGameScore',
'SetLocation',
'SetLogStream',
Expand Down Expand Up @@ -2297,6 +2305,7 @@
'SuggestedActionConvertToBroadcastGroup',
'SuggestedActionEnableArchiveAndMuteNewChats',
'SuggestedActionSeeTicksHint',
'SuggestedActionSetPassword',
'Supergroup',
'SupergroupFullInfo',
'SupergroupMembersFilter',
Expand Down Expand Up @@ -2376,6 +2385,7 @@
'ThumbnailFormatTgs',
'ThumbnailFormatWebp',
'ToggleChatDefaultDisableNotification',
'ToggleChatHasProtectedContent',
'ToggleChatIsMarkedAsUnread',
'ToggleChatIsPinned',
'ToggleGroupCallEnabledStartNotification',
Expand All @@ -2386,6 +2396,8 @@
'ToggleGroupCallParticipantIsMuted',
'ToggleGroupCallScreenSharingIsPaused',
'ToggleMessageSenderIsBlocked',
'ToggleSessionCanAcceptCalls',
'ToggleSessionCanAcceptSecretChats',
'ToggleSupergroupIsAllHistoryAvailable',
'ToggleSupergroupIsBroadcastGroup',
'ToggleSupergroupSignMessages',
Expand All @@ -2408,10 +2420,13 @@
'UpdateBasicGroup',
'UpdateBasicGroupFullInfo',
'UpdateCall',
'UpdateChatAction',
'UpdateChatActionBar',
'UpdateChatDefaultDisableNotification',
'UpdateChatDefaultMessageSenderId',
'UpdateChatDraftMessage',
'UpdateChatFilters',
'UpdateChatHasProtectedContent',
'UpdateChatHasScheduledMessages',
'UpdateChatIsBlocked',
'UpdateChatIsMarkedAsUnread',
Expand Down Expand Up @@ -2486,7 +2501,6 @@
'UpdateUnreadChatCount',
'UpdateUnreadMessageCount',
'UpdateUser',
'UpdateUserChatAction',
'UpdateUserFullInfo',
'UpdateUserPrivacySettingRules',
'UpdateUserStatus',
Expand Down
Loading

0 comments on commit f34e93f

Please sign in to comment.