Skip to content

Update to API Version 2#71

Merged
kian-ahmadian merged 47 commits into
masterfrom
api-version-2
Jan 18, 2024
Merged

Update to API Version 2#71
kian-ahmadian merged 47 commits into
masterfrom
api-version-2

Conversation

@kian-ahmadian

Copy link
Copy Markdown
Member

با رونمایی از جدید ترین نسخه از وب سرویس های بله و داکیومنت (شامل مدل ها، متد ها و ... ارائه شده) تصمیم به همگام سازی تمامی مدل های درج شده در داکیومنت با کتابخانه کردیم

در این ورژن تغییراتی شکل گرفته که میتونید لیست اون هارو به وسیله کامیت ها و یا سایت بررسی کنید

اغلب تغییرات انجام شده در این شاخه به عنوان تغییرات اصلی در ورژن 2.5.0 خواهد شد

* Use `BaleObject` object
* Rename `Price` object to `LabeledPrice`
* Use `BaleObject` object
* Improve Code Quality
* Improve docstrings
* Rename `ContactMessage` object to `Contact`
* Rename `File` object to `BaseFile`
* Rename `Photo` object to `PhotoSize`
* Use `BaleObject` object
* Remove some non-original params
* Remove `parsed_type` property
* Add is_private_chat, is_group_chat, is_channel_chat property
* Use `BaleObject` object
* Remove `parsed_status` property
* Add new properties is_owner & is_admin
* Add new attributes
@kian-ahmadian kian-ahmadian added the persian People inside the issue speak in persian language label Jan 17, 2024
@kian-ahmadian kian-ahmadian self-assigned this Jan 17, 2024
Comment thread bale/sticker.py
file_size: int
thumb: Optional[:class:`bale.PhotoSize`]
Sticker thumbnail.
set_name: Optional[:class:`str`]

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This line was edited because the string was not mentioned correctly.

@kian-ahmadian kian-ahmadian left a comment

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

No problem was found in the initial checks.

@kian-ahmadian kian-ahmadian merged commit a9d1eee into master Jan 18, 2024
@kian-ahmadian kian-ahmadian deleted the api-version-2 branch January 18, 2024 19:08
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

persian People inside the issue speak in persian language

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant