Commit Graph

22 Commits

Author SHA1 Message Date
KurimuzonAkuma
438e9d2f0e Add search_contacts, set_account_ttl and get_account_ttl method 2024-08-04 15:31:31 +03:00
KurimuzonAkuma
5cf43b15ed Add ActiveSessions class and session methods
Co-authored-by: Shrimadhav U K <SpEcHiDe@users.noreply.github.com>
2024-08-02 13:21:46 +03:00
KurimuzonAkuma
b3deade428 Fix story_ids description in get_stories 2024-07-29 11:38:48 +03:00
coglione
a46e4d593b
Add high level support for pre-checkout queries and service messages for successful payments (#67)
* Add high level support for pre-checkout queries

* Add high level support for incoming payments

* Update and fix documentation

---------

Co-authored-by: KurimuzonAkuma <31959970+KurimuzonAkuma@users.noreply.github.com>
2024-06-01 01:01:22 +03:00
KurimuzonAkuma
e77a3f56e7 Update docs compiler 2023-11-28 11:24:28 +03:00
Dan
8077eb4130
Update docs 2022-10-06 12:03:05 +02:00
Dan
1ebc704146 Documentation cleanup 2022-04-24 11:56:07 +02:00
Dan
8af17c3ed5 Documentation improvements 2022-04-24 11:56:07 +02:00
Dan
9be3818486 Add new function compose 2022-04-24 11:56:07 +02:00
Dan
7bfcd5ac5f Revamp bot commands and bot command scopes
Closes #777
2022-03-28 13:23:12 +02:00
Dan
b9424c7455 Add ChatJoinRequest bound methods docs 2022-02-01 11:01:02 +01:00
Dan
8c8288412f Various improvements 2022-01-07 10:18:51 +01:00
Dan
3445507a9a Update types.rst 2021-03-20 07:41:49 +01:00
ColinShark
ee5f39374c
Add support for the improved Invite Links (#639)
* Add new invite link export methods

* Implement higher-level Invite type

* Update Docstrings and rename Invite

* Docstrings are now more consistent with other methods
* Invite is now InviteLink to be less arbitrary

* Add method to get exported links

* `get_exported_chat_invites`
* prepare `__init__` for the other InvitesV2 methods

* Update returned type

`str` -> `types.InviteLink`

* Add method to edit invite link

Since editing the link returns a slightly different type to exporting,
I have made a small "hack" in the InviteLink type.

* Move Invites V2 methods to their own namespace

* Add get_chat_invite_importers and InviteImporter

Method to fetch information on users that joined via a specific link and
the type to display the information

* Add methods to delete revoked links

* delete_exported_chat_invite to delete a single revoked link
* delete_revoked_exported_chat_invites to delete all revoked links of a
specified admin

* Renaming Invite(s) to InviteLink(s)

As per @delivrance's request
https://github.com/pyrogram/pyrogram/pull/630#issuecomment-791893890

Also sorted invites' __init__ alphabetically

* Add Method to get admins with exported invite link

Documentation needs an update and the respective type needs to be
created. I cannot test this, as I lack Creator permissions.

* Invite Links overhaul

* Rearrange code

Co-authored-by: Dan <14043624+delivrance@users.noreply.github.com>
2021-03-17 12:40:36 +01:00
Dan
303712f599 Update docs 2020-08-22 16:09:38 +02:00
Dan
538f1e3972 Deep rewrite: preparing for v1.0
- Pyrogram core is now fully asynchronous
- Ditched Python 3.5, welcome 3.6 as minimum version.
- Moved all types to pyrogram.types
- Turned the Filters class into a module (filters)
- Moved all filters to pyrogram.filters
- Moved all handlers to pyrogram.handlers
- Moved all emoji to pyrogram.emoji
- Renamed pyrogram.api to pyrogram.raw
- Clock is now synced with server's time
- Telegram schema updated to Layer 117
- Greatly improved the TL compiler (proper type-constructor hierarchy)
- Added "do not edit" warning in generated files
- Crypto parts are executed in a thread pool to avoid blocking the event loop
- idle() is now a separate function (it doesn't deal with Client instances)
- Async storage, async filters and async progress callback (optional, can be sync too)
- Added getpass back, for hidden password inputs
2020-08-22 08:05:05 +02:00
Dan
0b93049822 Add content lists on relevant pages 2020-04-01 20:08:46 +02:00
Dan
6982c436a8 Add the new auth-related methods and types to docs 2019-08-13 13:18:01 +02:00
Dan
efcf7d5503 Move single methods, types and bound-methods to separated pages
The resulting pages were huge and were also taking a while to load
This will improve docs navigation
2019-07-09 19:03:46 +02:00
Dan
944b672fe5 Docs revamp. Part 4 2019-05-16 21:28:34 +02:00
Dan
26016eddd5 Add referenced modules on generated toctrees 2018-01-06 12:16:29 +01:00
Dan
e946825e0f Move docs compiler 2018-01-05 02:16:30 +01:00