2018-01-03 16:41:20 +00:00
|
|
|
Client
|
|
|
|
======
|
2017-12-30 18:47:18 +00:00
|
|
|
|
2018-01-25 12:47:05 +00:00
|
|
|
.. currentmodule:::: pyrogram.Client
|
|
|
|
|
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:
|
2018-01-25 12:47:05 +00:00
|
|
|
|
2018-06-05 14:28:14 +00:00
|
|
|
.. _available-methods:
|
|
|
|
|
2018-01-25 12:47:05 +00:00
|
|
|
**Available methods**
|
|
|
|
|
|
|
|
.. autosummary::
|
|
|
|
:nosignatures:
|
|
|
|
|
|
|
|
start
|
|
|
|
stop
|
|
|
|
idle
|
2018-06-22 11:10:33 +00:00
|
|
|
run
|
2018-04-11 01:46:37 +00:00
|
|
|
on_message
|
2018-04-29 17:24:06 +00:00
|
|
|
on_callback_query
|
2018-04-11 01:46:37 +00:00
|
|
|
on_raw_update
|
|
|
|
add_handler
|
2018-05-01 17:52:45 +00:00
|
|
|
remove_handler
|
2018-01-25 12:47:05 +00:00
|
|
|
send
|
2018-02-15 20:28:45 +00:00
|
|
|
resolve_peer
|
2018-01-25 12:47:05 +00:00
|
|
|
get_me
|
|
|
|
send_message
|
|
|
|
forward_messages
|
|
|
|
send_photo
|
|
|
|
send_audio
|
|
|
|
send_document
|
2018-04-29 17:24:06 +00:00
|
|
|
send_sticker
|
2018-01-25 12:47:05 +00:00
|
|
|
send_video
|
|
|
|
send_voice
|
|
|
|
send_video_note
|
2018-02-22 10:02:38 +00:00
|
|
|
send_media_group
|
2018-01-25 12:47:05 +00:00
|
|
|
send_location
|
|
|
|
send_venue
|
|
|
|
send_contact
|
|
|
|
send_chat_action
|
2018-02-27 19:07:01 +00:00
|
|
|
download_media
|
2018-01-25 12:47:05 +00:00
|
|
|
get_user_profile_photos
|
2018-06-28 17:59:53 +00:00
|
|
|
delete_profile_photos
|
2018-01-25 12:47:05 +00:00
|
|
|
edit_message_text
|
|
|
|
edit_message_caption
|
2018-04-29 17:24:06 +00:00
|
|
|
edit_message_reply_markup
|
2018-01-25 12:47:05 +00:00
|
|
|
delete_messages
|
|
|
|
join_chat
|
|
|
|
leave_chat
|
|
|
|
export_chat_invite_link
|
|
|
|
enable_cloud_password
|
|
|
|
change_cloud_password
|
2018-02-08 16:16:02 +00:00
|
|
|
remove_cloud_password
|
2018-06-04 10:21:58 +00:00
|
|
|
kick_chat_member
|
|
|
|
unban_chat_member
|
|
|
|
restrict_chat_member
|
|
|
|
promote_chat_member
|
2018-02-22 10:02:38 +00:00
|
|
|
add_contacts
|
2018-05-09 11:36:33 +00:00
|
|
|
get_contacts
|
2018-02-27 15:53:23 +00:00
|
|
|
delete_contacts
|
|
|
|
get_inline_bot_results
|
2018-03-11 16:24:26 +00:00
|
|
|
send_inline_bot_result
|
2018-05-09 11:36:33 +00:00
|
|
|
answer_callback_query
|
2018-06-27 14:53:18 +00:00
|
|
|
request_callback_answer
|
2018-04-29 17:24:06 +00:00
|
|
|
get_users
|
2018-05-09 11:36:33 +00:00
|
|
|
get_chat
|
2018-04-29 17:24:06 +00:00
|
|
|
get_messages
|
2018-05-09 11:36:33 +00:00
|
|
|
get_history
|