MTPyroger/docs/source/pyrogram/Client.rst

159 lines
2.3 KiB
ReStructuredText
Raw Normal View History

2018-01-03 16:41:20 +00:00
Client
======
2017-12-30 18:47:18 +00:00
2018-07-24 18:43:49 +00:00
.. currentmodule:: pyrogram.Client
.. autoclass:: pyrogram.Client
Utilities
---------
.. autosummary::
:nosignatures:
start
stop
2019-01-11 11:36:37 +00:00
restart
2018-07-24 18:43:49 +00:00
idle
run
add_handler
remove_handler
send
resolve_peer
2018-12-28 14:16:46 +00:00
save_file
2019-01-11 13:20:01 +00:00
stop_transmission
2018-07-24 18:43:49 +00:00
Decorators
----------
.. autosummary::
:nosignatures:
on_message
on_callback_query
2019-03-25 10:34:58 +00:00
on_inline_query
2018-07-24 18:43:49 +00:00
on_deleted_messages
2018-10-16 10:17:39 +00:00
on_user_status
2018-07-24 18:43:49 +00:00
on_disconnect
on_raw_update
Messages
--------
.. autosummary::
:nosignatures:
send_message
forward_messages
send_photo
send_audio
send_document
send_sticker
send_video
send_animation
2018-07-24 18:43:49 +00:00
send_voice
send_video_note
send_media_group
send_location
send_venue
send_contact
2019-03-25 10:34:58 +00:00
send_cached_media
2018-07-24 18:43:49 +00:00
send_chat_action
edit_message_text
edit_message_caption
edit_message_reply_markup
2018-09-19 10:13:54 +00:00
edit_message_media
2018-07-24 18:43:49 +00:00
delete_messages
get_messages
get_history
2019-01-04 14:37:08 +00:00
iter_history
2018-12-24 13:20:54 +00:00
send_poll
vote_poll
2019-03-25 10:34:58 +00:00
close_poll
2018-12-24 13:20:54 +00:00
retract_vote
download_media
2018-07-24 18:43:49 +00:00
Chats
-----
.. autosummary::
:nosignatures:
join_chat
leave_chat
kick_chat_member
unban_chat_member
restrict_chat_member
promote_chat_member
export_chat_invite_link
set_chat_photo
delete_chat_photo
set_chat_title
set_chat_description
pin_chat_message
unpin_chat_message
get_chat
get_chat_preview
2018-07-24 18:43:49 +00:00
get_chat_member
get_chat_members
2018-09-19 10:13:54 +00:00
get_chat_members_count
iter_chat_members
2018-09-19 10:13:54 +00:00
get_dialogs
iter_dialogs
2019-03-25 10:34:58 +00:00
restrict_chat
update_chat_username
2018-07-24 18:43:49 +00:00
Users
-----
.. autosummary::
:nosignatures:
get_me
get_users
get_user_profile_photos
2018-10-16 10:15:31 +00:00
set_user_profile_photo
delete_user_profile_photos
2019-03-25 10:34:58 +00:00
update_username
2018-07-24 18:43:49 +00:00
Contacts
--------
.. autosummary::
:nosignatures:
add_contacts
get_contacts
delete_contacts
Password
--------
.. autosummary::
:nosignatures:
enable_cloud_password
change_cloud_password
remove_cloud_password
Bots
----
.. autosummary::
:nosignatures:
get_inline_bot_results
send_inline_bot_result
answer_callback_query
2019-03-25 10:34:58 +00:00
answer_inline_query
2018-07-24 18:43:49 +00:00
request_callback_answer
send_game
set_game_score
2019-01-07 21:28:41 +00:00
get_game_high_scores
2019-03-22 10:35:35 +00:00
answer_inline_query
2018-07-24 18:43:49 +00:00
2018-01-25 12:47:05 +00:00
2017-12-30 18:47:18 +00:00
.. autoclass:: pyrogram.Client
2018-05-07 13:55:41 +00:00
:inherited-members:
2017-12-30 18:47:18 +00:00
:members: