Skip to content
Permalink
Browse files

Update copyright notice

  • Loading branch information
delivrance committed Feb 1, 2020
1 parent ac8fad3 commit 42c9bafa0c5b7dffbc6e111759fd83229231f6f3
Showing with 462 additions and 266 deletions.
  1. +1 βˆ’1 NOTICE
  2. +1 βˆ’1 README.md
  3. +1 βˆ’1 compiler/__init__.py
  4. +1 βˆ’1 compiler/api/__init__.py
  5. +1 βˆ’1 compiler/api/compiler.py
  6. +1 βˆ’1 compiler/docs/__init__.py
  7. +1 βˆ’1 compiler/docs/compiler.py
  8. +1 βˆ’1 compiler/error/__init__.py
  9. +1 βˆ’1 compiler/error/compiler.py
  10. +1 βˆ’1 docs/releases.py
  11. +1 βˆ’1 docs/sitemap.py
  12. +1 βˆ’1 docs/source/conf.py
  13. +18 βˆ’0 examples/bot_keyboards.py
  14. +18 βˆ’0 examples/callback_queries.py
  15. +18 βˆ’0 examples/echobot.py
  16. +18 βˆ’0 examples/get_chat_members.py
  17. +18 βˆ’0 examples/get_dialogs.py
  18. +18 βˆ’0 examples/get_history.py
  19. +18 βˆ’0 examples/hello_world.py
  20. +18 βˆ’0 examples/inline_queries.py
  21. +18 βˆ’0 examples/raw_updates.py
  22. +18 βˆ’0 examples/use_inline_bots.py
  23. +18 βˆ’0 examples/welcomebot.py
  24. +1 βˆ’1 pyrogram/__init__.py
  25. +1 βˆ’1 pyrogram/api/__init__.py
  26. +1 βˆ’1 pyrogram/api/core/__init__.py
  27. +1 βˆ’1 pyrogram/api/core/future_salt.py
  28. +1 βˆ’1 pyrogram/api/core/future_salts.py
  29. +1 βˆ’1 pyrogram/api/core/gzip_packed.py
  30. +1 βˆ’1 pyrogram/api/core/list.py
  31. +1 βˆ’1 pyrogram/api/core/message.py
  32. +1 βˆ’1 pyrogram/api/core/msg_container.py
  33. +1 βˆ’1 pyrogram/api/core/primitives/__init__.py
  34. +1 βˆ’1 pyrogram/api/core/primitives/bool.py
  35. +1 βˆ’1 pyrogram/api/core/primitives/bytes.py
  36. +1 βˆ’1 pyrogram/api/core/primitives/double.py
  37. +1 βˆ’1 pyrogram/api/core/primitives/int.py
  38. +1 βˆ’1 pyrogram/api/core/primitives/string.py
  39. +1 βˆ’1 pyrogram/api/core/primitives/vector.py
  40. +1 βˆ’1 pyrogram/api/core/tl_object.py
  41. +1 βˆ’1 pyrogram/client/__init__.py
  42. +1 βˆ’1 pyrogram/client/client.py
  43. +1 βˆ’1 pyrogram/client/ext/__init__.py
  44. +1 βˆ’1 pyrogram/client/ext/base_client.py
  45. +1 βˆ’1 pyrogram/client/ext/dispatcher.py
  46. +1 βˆ’1 pyrogram/client/ext/emoji.py
  47. +1 βˆ’1 pyrogram/client/ext/file_data.py
  48. +1 βˆ’1 pyrogram/client/ext/syncer.py
  49. +1 βˆ’1 pyrogram/client/ext/utils.py
  50. +1 βˆ’1 pyrogram/client/filters/__init__.py
  51. +1 βˆ’1 pyrogram/client/filters/filter.py
  52. +1 βˆ’1 pyrogram/client/filters/filters.py
  53. +1 βˆ’1 pyrogram/client/handlers/__init__.py
  54. +1 βˆ’1 pyrogram/client/handlers/callback_query_handler.py
  55. +1 βˆ’1 pyrogram/client/handlers/deleted_messages_handler.py
  56. +1 βˆ’1 pyrogram/client/handlers/disconnect_handler.py
  57. +1 βˆ’1 pyrogram/client/handlers/handler.py
  58. +1 βˆ’1 pyrogram/client/handlers/inline_query_handler.py
  59. +1 βˆ’1 pyrogram/client/handlers/message_handler.py
  60. +1 βˆ’1 pyrogram/client/handlers/poll_handler.py
  61. +1 βˆ’1 pyrogram/client/handlers/raw_update_handler.py
  62. +1 βˆ’1 pyrogram/client/handlers/user_status_handler.py
  63. +1 βˆ’1 pyrogram/client/methods/__init__.py
  64. +1 βˆ’1 pyrogram/client/methods/bots/__init__.py
  65. +1 βˆ’1 pyrogram/client/methods/bots/answer_callback_query.py
  66. +1 βˆ’1 pyrogram/client/methods/bots/answer_inline_query.py
  67. +1 βˆ’1 pyrogram/client/methods/bots/get_game_high_scores.py
  68. +1 βˆ’1 pyrogram/client/methods/bots/get_inline_bot_results.py
  69. +1 βˆ’1 pyrogram/client/methods/bots/request_callback_answer.py
  70. +1 βˆ’1 pyrogram/client/methods/bots/send_game.py
  71. +1 βˆ’1 pyrogram/client/methods/bots/send_inline_bot_result.py
  72. +1 βˆ’1 pyrogram/client/methods/bots/set_game_score.py
  73. +1 βˆ’1 pyrogram/client/methods/chats/__init__.py
  74. +1 βˆ’1 pyrogram/client/methods/chats/add_chat_members.py
  75. +1 βˆ’1 pyrogram/client/methods/chats/archive_chats.py
  76. +1 βˆ’1 pyrogram/client/methods/chats/create_channel.py
  77. +1 βˆ’1 pyrogram/client/methods/chats/create_group.py
  78. +1 βˆ’1 pyrogram/client/methods/chats/create_supergroup.py
  79. +1 βˆ’2 pyrogram/client/methods/chats/delete_channel.py
  80. +1 βˆ’1 pyrogram/client/methods/chats/delete_chat_photo.py
  81. +1 βˆ’2 pyrogram/client/methods/chats/delete_supergroup.py
  82. +1 βˆ’1 pyrogram/client/methods/chats/delete_user_history.py
  83. +1 βˆ’1 pyrogram/client/methods/chats/export_chat_invite_link.py
  84. +1 βˆ’1 pyrogram/client/methods/chats/get_chat.py
  85. +1 βˆ’1 pyrogram/client/methods/chats/get_chat_member.py
  86. +1 βˆ’1 pyrogram/client/methods/chats/get_chat_members.py
  87. +1 βˆ’1 pyrogram/client/methods/chats/get_chat_members_count.py
  88. +1 βˆ’1 pyrogram/client/methods/chats/get_dialogs.py
  89. +1 βˆ’1 pyrogram/client/methods/chats/get_dialogs_count.py
  90. +1 βˆ’1 pyrogram/client/methods/chats/get_nearby_chats.py
  91. +1 βˆ’1 pyrogram/client/methods/chats/iter_chat_members.py
  92. +1 βˆ’1 pyrogram/client/methods/chats/iter_dialogs.py
  93. +1 βˆ’1 pyrogram/client/methods/chats/join_chat.py
  94. +1 βˆ’1 pyrogram/client/methods/chats/kick_chat_member.py
  95. +1 βˆ’1 pyrogram/client/methods/chats/leave_chat.py
  96. +1 βˆ’1 pyrogram/client/methods/chats/pin_chat_message.py
  97. +1 βˆ’1 pyrogram/client/methods/chats/promote_chat_member.py
  98. +1 βˆ’1 pyrogram/client/methods/chats/restrict_chat_member.py
  99. +1 βˆ’1 pyrogram/client/methods/chats/set_administrator_title.py
  100. +1 βˆ’1 pyrogram/client/methods/chats/set_chat_description.py
  101. +1 βˆ’1 pyrogram/client/methods/chats/set_chat_permissions.py
  102. +1 βˆ’1 pyrogram/client/methods/chats/set_chat_photo.py
  103. +1 βˆ’1 pyrogram/client/methods/chats/set_chat_title.py
  104. +1 βˆ’1 pyrogram/client/methods/chats/set_slow_mode.py
  105. +1 βˆ’1 pyrogram/client/methods/chats/unarchive_chats.py
  106. +1 βˆ’1 pyrogram/client/methods/chats/unban_chat_member.py
  107. +1 βˆ’1 pyrogram/client/methods/chats/unpin_chat_message.py
  108. +1 βˆ’1 pyrogram/client/methods/chats/update_chat_username.py
  109. +1 βˆ’1 pyrogram/client/methods/contacts/__init__.py
  110. +1 βˆ’1 pyrogram/client/methods/contacts/add_contacts.py
  111. +1 βˆ’1 pyrogram/client/methods/contacts/delete_contacts.py
  112. +1 βˆ’1 pyrogram/client/methods/contacts/get_contacts.py
  113. +1 βˆ’1 pyrogram/client/methods/contacts/get_contacts_count.py
  114. +1 βˆ’1 pyrogram/client/methods/decorators/__init__.py
  115. +1 βˆ’1 pyrogram/client/methods/decorators/on_callback_query.py
  116. +1 βˆ’1 pyrogram/client/methods/decorators/on_deleted_messages.py
  117. +1 βˆ’1 pyrogram/client/methods/decorators/on_disconnect.py
  118. +1 βˆ’1 pyrogram/client/methods/decorators/on_inline_query.py
  119. +1 βˆ’1 pyrogram/client/methods/decorators/on_message.py
  120. +1 βˆ’1 pyrogram/client/methods/decorators/on_poll.py
  121. +1 βˆ’1 pyrogram/client/methods/decorators/on_raw_update.py
  122. +1 βˆ’1 pyrogram/client/methods/decorators/on_user_status.py
  123. +1 βˆ’1 pyrogram/client/methods/messages/__init__.py
  124. +1 βˆ’1 pyrogram/client/methods/messages/delete_messages.py
  125. +1 βˆ’1 pyrogram/client/methods/messages/download_media.py
  126. +1 βˆ’1 pyrogram/client/methods/messages/edit_inline_caption.py
  127. +1 βˆ’1 pyrogram/client/methods/messages/edit_inline_media.py
  128. +1 βˆ’1 pyrogram/client/methods/messages/edit_inline_reply_markup.py
  129. +1 βˆ’1 pyrogram/client/methods/messages/edit_inline_text.py
  130. +1 βˆ’1 pyrogram/client/methods/messages/edit_message_caption.py
  131. +1 βˆ’1 pyrogram/client/methods/messages/edit_message_media.py
  132. +1 βˆ’1 pyrogram/client/methods/messages/edit_message_reply_markup.py
  133. +1 βˆ’1 pyrogram/client/methods/messages/edit_message_text.py
  134. +1 βˆ’1 pyrogram/client/methods/messages/forward_messages.py
  135. +1 βˆ’1 pyrogram/client/methods/messages/get_history.py
  136. +1 βˆ’1 pyrogram/client/methods/messages/get_history_count.py
  137. +1 βˆ’1 pyrogram/client/methods/messages/get_messages.py
  138. +1 βˆ’1 pyrogram/client/methods/messages/iter_history.py
  139. +1 βˆ’1 pyrogram/client/methods/messages/read_history.py
  140. +1 βˆ’1 pyrogram/client/methods/messages/retract_vote.py
  141. +1 βˆ’1 pyrogram/client/methods/messages/send_animation.py
  142. +1 βˆ’1 pyrogram/client/methods/messages/send_audio.py
  143. +1 βˆ’1 pyrogram/client/methods/messages/send_cached_media.py
  144. +1 βˆ’1 pyrogram/client/methods/messages/send_chat_action.py
  145. +1 βˆ’1 pyrogram/client/methods/messages/send_contact.py
  146. +1 βˆ’1 pyrogram/client/methods/messages/send_document.py
  147. +1 βˆ’1 pyrogram/client/methods/messages/send_location.py
  148. +1 βˆ’1 pyrogram/client/methods/messages/send_media_group.py
  149. +1 βˆ’1 pyrogram/client/methods/messages/send_message.py
  150. +1 βˆ’1 pyrogram/client/methods/messages/send_photo.py
  151. +1 βˆ’1 pyrogram/client/methods/messages/send_poll.py
  152. +1 βˆ’1 pyrogram/client/methods/messages/send_sticker.py
  153. +1 βˆ’1 pyrogram/client/methods/messages/send_venue.py
  154. +1 βˆ’1 pyrogram/client/methods/messages/send_video.py
  155. +1 βˆ’1 pyrogram/client/methods/messages/send_video_note.py
  156. +1 βˆ’1 pyrogram/client/methods/messages/send_voice.py
  157. +1 βˆ’1 pyrogram/client/methods/messages/stop_poll.py
  158. +1 βˆ’1 pyrogram/client/methods/messages/vote_poll.py
  159. +1 βˆ’1 pyrogram/client/methods/password/__init__.py
  160. +1 βˆ’1 pyrogram/client/methods/password/change_cloud_password.py
  161. +1 βˆ’1 pyrogram/client/methods/password/enable_cloud_password.py
  162. +1 βˆ’1 pyrogram/client/methods/password/remove_cloud_password.py
  163. +1 βˆ’1 pyrogram/client/methods/password/utils.py
  164. +1 βˆ’1 pyrogram/client/methods/users/__init__.py
  165. +1 βˆ’1 pyrogram/client/methods/users/block_user.py
  166. +1 βˆ’1 pyrogram/client/methods/users/delete_profile_photos.py
  167. +1 βˆ’1 pyrogram/client/methods/users/get_common_chats.py
  168. +1 βˆ’1 pyrogram/client/methods/users/get_me.py
  169. +1 βˆ’1 pyrogram/client/methods/users/get_profile_photos.py
  170. +1 βˆ’1 pyrogram/client/methods/users/get_profile_photos_count.py
  171. +1 βˆ’1 pyrogram/client/methods/users/get_users.py
  172. +1 βˆ’1 pyrogram/client/methods/users/iter_profile_photos.py
  173. +1 βˆ’1 pyrogram/client/methods/users/set_profile_photo.py
  174. +1 βˆ’1 pyrogram/client/methods/users/unblock_user.py
  175. +1 βˆ’1 pyrogram/client/methods/users/update_profile.py
  176. +1 βˆ’1 pyrogram/client/methods/users/update_username.py
  177. +1 βˆ’1 pyrogram/client/parser/__init__.py
  178. +1 βˆ’1 pyrogram/client/parser/html.py
  179. +1 βˆ’1 pyrogram/client/parser/markdown.py
  180. +1 βˆ’1 pyrogram/client/parser/parser.py
  181. +1 βˆ’1 pyrogram/client/parser/utils.py
  182. +1 βˆ’1 pyrogram/client/storage/__init__.py
  183. +1 βˆ’1 pyrogram/client/storage/file_storage.py
  184. +1 βˆ’1 pyrogram/client/storage/memory_storage.py
  185. +1 βˆ’1 pyrogram/client/storage/sqlite_storage.py
  186. +1 βˆ’1 pyrogram/client/storage/storage.py
  187. +1 βˆ’1 pyrogram/client/types/__init__.py
  188. +1 βˆ’1 pyrogram/client/types/authorization/__init__.py
  189. +1 βˆ’1 pyrogram/client/types/authorization/sent_code.py
  190. +1 βˆ’1 pyrogram/client/types/authorization/terms_of_service.py
  191. +1 βˆ’1 pyrogram/client/types/bots_and_keyboards/__init__.py
  192. +1 βˆ’1 pyrogram/client/types/bots_and_keyboards/callback_game.py
  193. +1 βˆ’1 pyrogram/client/types/bots_and_keyboards/callback_query.py
  194. +1 βˆ’1 pyrogram/client/types/bots_and_keyboards/force_reply.py
  195. +1 βˆ’1 pyrogram/client/types/bots_and_keyboards/game_high_score.py
  196. +1 βˆ’1 pyrogram/client/types/bots_and_keyboards/inline_keyboard_button.py
  197. +1 βˆ’1 pyrogram/client/types/bots_and_keyboards/inline_keyboard_markup.py
  198. +1 βˆ’1 pyrogram/client/types/bots_and_keyboards/keyboard_button.py
  199. +1 βˆ’1 pyrogram/client/types/bots_and_keyboards/reply_keyboard_markup.py
  200. +1 βˆ’1 pyrogram/client/types/bots_and_keyboards/reply_keyboard_remove.py
  201. +1 βˆ’1 pyrogram/client/types/inline_mode/__init__.py
  202. +1 βˆ’1 pyrogram/client/types/inline_mode/inline_query.py
  203. +1 βˆ’1 pyrogram/client/types/inline_mode/inline_query_result.py
  204. +1 βˆ’1 pyrogram/client/types/inline_mode/inline_query_result_animation.py
  205. +1 βˆ’1 pyrogram/client/types/inline_mode/inline_query_result_article.py
  206. +1 βˆ’1 pyrogram/client/types/inline_mode/inline_query_result_photo.py
  207. +1 βˆ’1 pyrogram/client/types/input_media/__init__.py
  208. +1 βˆ’1 pyrogram/client/types/input_media/input_media.py
  209. +1 βˆ’1 pyrogram/client/types/input_media/input_media_animation.py
  210. +1 βˆ’1 pyrogram/client/types/input_media/input_media_audio.py
  211. +1 βˆ’1 pyrogram/client/types/input_media/input_media_document.py
  212. +1 βˆ’1 pyrogram/client/types/input_media/input_media_photo.py
  213. +1 βˆ’1 pyrogram/client/types/input_media/input_media_video.py
  214. +1 βˆ’1 pyrogram/client/types/input_media/input_phone_contact.py
  215. +1 βˆ’1 pyrogram/client/types/input_message_content/__init__.py
  216. +1 βˆ’1 pyrogram/client/types/input_message_content/input_message_content.py
  217. +1 βˆ’1 pyrogram/client/types/input_message_content/input_text_message_content.py
  218. +1 βˆ’1 pyrogram/client/types/list.py
  219. +1 βˆ’1 pyrogram/client/types/messages_and_media/__init__.py
  220. +1 βˆ’1 pyrogram/client/types/messages_and_media/animation.py
  221. +1 βˆ’1 pyrogram/client/types/messages_and_media/audio.py
  222. +1 βˆ’1 pyrogram/client/types/messages_and_media/contact.py
  223. +1 βˆ’1 pyrogram/client/types/messages_and_media/document.py
  224. +1 βˆ’1 pyrogram/client/types/messages_and_media/game.py
  225. +1 βˆ’1 pyrogram/client/types/messages_and_media/location.py
  226. +1 βˆ’1 pyrogram/client/types/messages_and_media/message.py
  227. +1 βˆ’1 pyrogram/client/types/messages_and_media/message_entity.py
  228. +1 βˆ’1 pyrogram/client/types/messages_and_media/photo.py
  229. +1 βˆ’1 pyrogram/client/types/messages_and_media/poll.py
  230. +1 βˆ’1 pyrogram/client/types/messages_and_media/poll_option.py
  231. +1 βˆ’1 pyrogram/client/types/messages_and_media/sticker.py
  232. +1 βˆ’1 pyrogram/client/types/messages_and_media/stripped_thumbnail.py
  233. +1 βˆ’1 pyrogram/client/types/messages_and_media/thumbnail.py
  234. +1 βˆ’1 pyrogram/client/types/messages_and_media/venue.py
  235. +1 βˆ’1 pyrogram/client/types/messages_and_media/video.py
  236. +1 βˆ’1 pyrogram/client/types/messages_and_media/video_note.py
  237. +1 βˆ’1 pyrogram/client/types/messages_and_media/voice.py
  238. +1 βˆ’1 pyrogram/client/types/messages_and_media/webpage.py
  239. +1 βˆ’1 pyrogram/client/types/object.py
  240. +1 βˆ’1 pyrogram/client/types/update.py
  241. +1 βˆ’1 pyrogram/client/types/user_and_chats/__init__.py
  242. +1 βˆ’1 pyrogram/client/types/user_and_chats/chat.py
  243. +1 βˆ’1 pyrogram/client/types/user_and_chats/chat_member.py
  244. +1 βˆ’1 pyrogram/client/types/user_and_chats/chat_permissions.py
  245. +1 βˆ’1 pyrogram/client/types/user_and_chats/chat_photo.py
  246. +1 βˆ’1 pyrogram/client/types/user_and_chats/chat_preview.py
  247. +1 βˆ’1 pyrogram/client/types/user_and_chats/dialog.py
  248. +1 βˆ’1 pyrogram/client/types/user_and_chats/restriction.py
  249. +1 βˆ’1 pyrogram/client/types/user_and_chats/user.py
  250. +1 βˆ’1 pyrogram/connection/__init__.py
  251. +1 βˆ’1 pyrogram/connection/connection.py
  252. +1 βˆ’1 pyrogram/connection/transport/__init__.py
  253. +1 βˆ’1 pyrogram/connection/transport/tcp/__init__.py
  254. +1 βˆ’1 pyrogram/connection/transport/tcp/tcp.py
  255. +1 βˆ’1 pyrogram/connection/transport/tcp/tcp_abridged.py
  256. +1 βˆ’1 pyrogram/connection/transport/tcp/tcp_abridged_o.py
  257. +1 βˆ’1 pyrogram/connection/transport/tcp/tcp_full.py
  258. +1 βˆ’1 pyrogram/connection/transport/tcp/tcp_intermediate.py
  259. +1 βˆ’1 pyrogram/connection/transport/tcp/tcp_intermediate_o.py
  260. +1 βˆ’1 pyrogram/crypto/__init__.py
  261. +1 βˆ’1 pyrogram/crypto/aes.py
  262. +1 βˆ’1 pyrogram/crypto/kdf.py
  263. +1 βˆ’1 pyrogram/crypto/prime.py
  264. +1 βˆ’1 pyrogram/crypto/rsa.py
  265. +1 βˆ’1 pyrogram/errors/__init__.py
  266. +1 βˆ’1 pyrogram/errors/rpc_error.py
  267. +1 βˆ’1 pyrogram/session/__init__.py
  268. +1 βˆ’1 pyrogram/session/auth.py
  269. +1 βˆ’1 pyrogram/session/internals/__init__.py
  270. +1 βˆ’1 pyrogram/session/internals/data_center.py
  271. +1 βˆ’1 pyrogram/session/internals/msg_factory.py
  272. +1 βˆ’1 pyrogram/session/internals/msg_id.py
  273. +1 βˆ’1 pyrogram/session/internals/seq_no.py
  274. +1 βˆ’1 pyrogram/session/session.py
  275. +1 βˆ’1 setup.py
2 NOTICE
@@ -1,5 +1,5 @@
Pyrogram - Telegram MTProto API Client Library for Python
Copyright (C) 2017-2019 Dan Tès <https://github.com/delivrance>
Copyright (C) 2017-2020 Dan <https://github.com/delivrance>

This file is part of Pyrogram.

@@ -81,5 +81,5 @@ and documentation. Any help is appreciated!

### Copyright & License

- Copyright (C) 2017-2019 Dan Tès <<https://github.com/delivrance>>
- Copyright (C) 2017-2020 Dan <<https://github.com/delivrance>>
- Licensed under the terms of the [GNU Lesser General Public License v3 or later (LGPLv3+)](COPYING.lesser)
@@ -1,5 +1,5 @@
# Pyrogram - Telegram MTProto API Client Library for Python
# Copyright (C) 2017-2019 Dan Tès <https://github.com/delivrance>
# Copyright (C) 2017-2020 Dan <https://github.com/delivrance>
#
# This file is part of Pyrogram.
#
@@ -1,5 +1,5 @@
# Pyrogram - Telegram MTProto API Client Library for Python
# Copyright (C) 2017-2019 Dan Tès <https://github.com/delivrance>
# Copyright (C) 2017-2020 Dan <https://github.com/delivrance>
#
# This file is part of Pyrogram.
#
@@ -1,5 +1,5 @@
# Pyrogram - Telegram MTProto API Client Library for Python
# Copyright (C) 2017-2019 Dan Tès <https://github.com/delivrance>
# Copyright (C) 2017-2020 Dan <https://github.com/delivrance>
#
# This file is part of Pyrogram.
#
@@ -1,5 +1,5 @@
# Pyrogram - Telegram MTProto API Client Library for Python
# Copyright (C) 2017-2019 Dan Tès <https://github.com/delivrance>
# Copyright (C) 2017-2020 Dan <https://github.com/delivrance>
#
# This file is part of Pyrogram.
#
@@ -1,5 +1,5 @@
# Pyrogram - Telegram MTProto API Client Library for Python
# Copyright (C) 2017-2019 Dan Tès <https://github.com/delivrance>
# Copyright (C) 2017-2020 Dan <https://github.com/delivrance>
#
# This file is part of Pyrogram.
#
@@ -1,5 +1,5 @@
# Pyrogram - Telegram MTProto API Client Library for Python
# Copyright (C) 2017-2019 Dan Tès <https://github.com/delivrance>
# Copyright (C) 2017-2020 Dan <https://github.com/delivrance>
#
# This file is part of Pyrogram.
#
@@ -1,5 +1,5 @@
# Pyrogram - Telegram MTProto API Client Library for Python
# Copyright (C) 2017-2019 Dan Tès <https://github.com/delivrance>
# Copyright (C) 2017-2020 Dan <https://github.com/delivrance>
#
# This file is part of Pyrogram.
#
@@ -1,5 +1,5 @@
# Pyrogram - Telegram MTProto API Client Library for Python
# Copyright (C) 2017-2019 Dan Tès <https://github.com/delivrance>
# Copyright (C) 2017-2020 Dan <https://github.com/delivrance>
#
# This file is part of Pyrogram.
#
@@ -1,5 +1,5 @@
# Pyrogram - Telegram MTProto API Client Library for Python
# Copyright (C) 2017-2018 Dan Tès <https://github.com/delivrance>
# Copyright (C) 2017-2020 Dan <https://github.com/delivrance>
#
# This file is part of Pyrogram.
#
@@ -1,5 +1,5 @@
# Pyrogram - Telegram MTProto API Client Library for Python
# Copyright (C) 2017-2019 Dan Tès <https://github.com/delivrance>
# Copyright (C) 2017-2020 Dan <https://github.com/delivrance>
#
# This file is part of Pyrogram.
#
@@ -1,3 +1,21 @@
# Pyrogram - Telegram MTProto API Client Library for Python
# Copyright (C) 2017-2020 Dan <https://github.com/delivrance>
#
# This file is part of Pyrogram.
#
# Pyrogram is free software: you can redistribute it and/or modify
# it under the terms of the GNU Lesser General Public License as published
# by the Free Software Foundation, either version 3 of the License, or
# (at your option) any later version.
#
# Pyrogram is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU Lesser General Public License for more details.
#
# You should have received a copy of the GNU Lesser General Public License
# along with Pyrogram. If not, see <http://www.gnu.org/licenses/>.

"""This example will show you how to send normal and inline keyboards (as bot).
You must log-in as a regular bot in order to send keyboards (use the token from @BotFather).
@@ -1,3 +1,21 @@
# Pyrogram - Telegram MTProto API Client Library for Python
# Copyright (C) 2017-2020 Dan <https://github.com/delivrance>
#
# This file is part of Pyrogram.
#
# Pyrogram is free software: you can redistribute it and/or modify
# it under the terms of the GNU Lesser General Public License as published
# by the Free Software Foundation, either version 3 of the License, or
# (at your option) any later version.
#
# Pyrogram is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU Lesser General Public License for more details.
#
# You should have received a copy of the GNU Lesser General Public License
# along with Pyrogram. If not, see <http://www.gnu.org/licenses/>.

"""This example shows how to handle callback queries, i.e.: queries coming from inline button presses.
It uses the @on_callback_query decorator to register a CallbackQueryHandler.
@@ -1,3 +1,21 @@
# Pyrogram - Telegram MTProto API Client Library for Python
# Copyright (C) 2017-2020 Dan <https://github.com/delivrance>
#
# This file is part of Pyrogram.
#
# Pyrogram is free software: you can redistribute it and/or modify
# it under the terms of the GNU Lesser General Public License as published
# by the Free Software Foundation, either version 3 of the License, or
# (at your option) any later version.
#
# Pyrogram is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU Lesser General Public License for more details.
#
# You should have received a copy of the GNU Lesser General Public License
# along with Pyrogram. If not, see <http://www.gnu.org/licenses/>.

"""This simple echo bot replies to every private text message.
It uses the @on_message decorator to register a MessageHandler and applies two filters on it:
@@ -1,3 +1,21 @@
# Pyrogram - Telegram MTProto API Client Library for Python
# Copyright (C) 2017-2020 Dan <https://github.com/delivrance>
#
# This file is part of Pyrogram.
#
# Pyrogram is free software: you can redistribute it and/or modify
# it under the terms of the GNU Lesser General Public License as published
# by the Free Software Foundation, either version 3 of the License, or
# (at your option) any later version.
#
# Pyrogram is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU Lesser General Public License for more details.
#
# You should have received a copy of the GNU Lesser General Public License
# along with Pyrogram. If not, see <http://www.gnu.org/licenses/>.

"""This example shows how to get all the members of a chat."""

from pyrogram import Client
@@ -1,3 +1,21 @@
# Pyrogram - Telegram MTProto API Client Library for Python
# Copyright (C) 2017-2020 Dan <https://github.com/delivrance>
#
# This file is part of Pyrogram.
#
# Pyrogram is free software: you can redistribute it and/or modify
# it under the terms of the GNU Lesser General Public License as published
# by the Free Software Foundation, either version 3 of the License, or
# (at your option) any later version.
#
# Pyrogram is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU Lesser General Public License for more details.
#
# You should have received a copy of the GNU Lesser General Public License
# along with Pyrogram. If not, see <http://www.gnu.org/licenses/>.

"""This example shows how to get the full dialogs list (as user)."""

from pyrogram import Client
@@ -1,3 +1,21 @@
# Pyrogram - Telegram MTProto API Client Library for Python
# Copyright (C) 2017-2020 Dan <https://github.com/delivrance>
#
# This file is part of Pyrogram.
#
# Pyrogram is free software: you can redistribute it and/or modify
# it under the terms of the GNU Lesser General Public License as published
# by the Free Software Foundation, either version 3 of the License, or
# (at your option) any later version.
#
# Pyrogram is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU Lesser General Public License for more details.
#
# You should have received a copy of the GNU Lesser General Public License
# along with Pyrogram. If not, see <http://www.gnu.org/licenses/>.

"""This example shows how to get the full message history of a chat, starting from the latest message"""

from pyrogram import Client
@@ -1,3 +1,21 @@
# Pyrogram - Telegram MTProto API Client Library for Python
# Copyright (C) 2017-2020 Dan <https://github.com/delivrance>
#
# This file is part of Pyrogram.
#
# Pyrogram is free software: you can redistribute it and/or modify
# it under the terms of the GNU Lesser General Public License as published
# by the Free Software Foundation, either version 3 of the License, or
# (at your option) any later version.
#
# Pyrogram is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU Lesser General Public License for more details.
#
# You should have received a copy of the GNU Lesser General Public License
# along with Pyrogram. If not, see <http://www.gnu.org/licenses/>.

"""This example demonstrates a basic API usage"""

from pyrogram import Client
@@ -1,3 +1,21 @@
# Pyrogram - Telegram MTProto API Client Library for Python
# Copyright (C) 2017-2020 Dan <https://github.com/delivrance>
#
# This file is part of Pyrogram.
#
# Pyrogram is free software: you can redistribute it and/or modify
# it under the terms of the GNU Lesser General Public License as published
# by the Free Software Foundation, either version 3 of the License, or
# (at your option) any later version.
#
# Pyrogram is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU Lesser General Public License for more details.
#
# You should have received a copy of the GNU Lesser General Public License
# along with Pyrogram. If not, see <http://www.gnu.org/licenses/>.

"""This example shows how to handle inline queries.
Two results are generated when users invoke the bot inline mode, e.g.: @pyrogrambot hi.
It uses the @on_inline_query decorator to register an InlineQueryHandler.
@@ -1,3 +1,21 @@
# Pyrogram - Telegram MTProto API Client Library for Python
# Copyright (C) 2017-2020 Dan <https://github.com/delivrance>
#
# This file is part of Pyrogram.
#
# Pyrogram is free software: you can redistribute it and/or modify
# it under the terms of the GNU Lesser General Public License as published
# by the Free Software Foundation, either version 3 of the License, or
# (at your option) any later version.
#
# Pyrogram is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU Lesser General Public License for more details.
#
# You should have received a copy of the GNU Lesser General Public License
# along with Pyrogram. If not, see <http://www.gnu.org/licenses/>.

"""This example shows how to handle raw updates"""

from pyrogram import Client
@@ -1,3 +1,21 @@
# Pyrogram - Telegram MTProto API Client Library for Python
# Copyright (C) 2017-2020 Dan <https://github.com/delivrance>
#
# This file is part of Pyrogram.
#
# Pyrogram is free software: you can redistribute it and/or modify
# it under the terms of the GNU Lesser General Public License as published
# by the Free Software Foundation, either version 3 of the License, or
# (at your option) any later version.
#
# Pyrogram is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU Lesser General Public License for more details.
#
# You should have received a copy of the GNU Lesser General Public License
# along with Pyrogram. If not, see <http://www.gnu.org/licenses/>.

"""This example shows how to query an inline bot (as user)"""

from pyrogram import Client
@@ -1,3 +1,21 @@
# Pyrogram - Telegram MTProto API Client Library for Python
# Copyright (C) 2017-2020 Dan <https://github.com/delivrance>
#
# This file is part of Pyrogram.
#
# Pyrogram is free software: you can redistribute it and/or modify
# it under the terms of the GNU Lesser General Public License as published
# by the Free Software Foundation, either version 3 of the License, or
# (at your option) any later version.
#
# Pyrogram is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU Lesser General Public License for more details.
#
# You should have received a copy of the GNU Lesser General Public License
# along with Pyrogram. If not, see <http://www.gnu.org/licenses/>.

"""This is the Welcome Bot in @PyrogramChat.
It uses the Emoji module to easily add emojis in your text messages and Filters
@@ -1,5 +1,5 @@
# Pyrogram - Telegram MTProto API Client Library for Python
# Copyright (C) 2017-2019 Dan Tès <https://github.com/delivrance>
# Copyright (C) 2017-2020 Dan <https://github.com/delivrance>
#
# This file is part of Pyrogram.
#
@@ -1,5 +1,5 @@
# Pyrogram - Telegram MTProto API Client Library for Python
# Copyright (C) 2017-2019 Dan Tès <https://github.com/delivrance>
# Copyright (C) 2017-2020 Dan <https://github.com/delivrance>
#
# This file is part of Pyrogram.
#
@@ -1,5 +1,5 @@
# Pyrogram - Telegram MTProto API Client Library for Python
# Copyright (C) 2017-2019 Dan Tès <https://github.com/delivrance>
# Copyright (C) 2017-2020 Dan <https://github.com/delivrance>
#
# This file is part of Pyrogram.
#
@@ -1,5 +1,5 @@
# Pyrogram - Telegram MTProto API Client Library for Python
# Copyright (C) 2017-2019 Dan Tès <https://github.com/delivrance>
# Copyright (C) 2017-2020 Dan <https://github.com/delivrance>
#
# This file is part of Pyrogram.
#
@@ -1,5 +1,5 @@
# Pyrogram - Telegram MTProto API Client Library for Python
# Copyright (C) 2017-2019 Dan Tès <https://github.com/delivrance>
# Copyright (C) 2017-2020 Dan <https://github.com/delivrance>
#
# This file is part of Pyrogram.
#
@@ -1,5 +1,5 @@
# Pyrogram - Telegram MTProto API Client Library for Python
# Copyright (C) 2017-2019 Dan Tès <https://github.com/delivrance>
# Copyright (C) 2017-2020 Dan <https://github.com/delivrance>
#
# This file is part of Pyrogram.
#
@@ -1,5 +1,5 @@
# Pyrogram - Telegram MTProto API Client Library for Python
# Copyright (C) 2017-2019 Dan Tès <https://github.com/delivrance>
# Copyright (C) 2017-2020 Dan <https://github.com/delivrance>
#
# This file is part of Pyrogram.
#
@@ -1,5 +1,5 @@
# Pyrogram - Telegram MTProto API Client Library for Python
# Copyright (C) 2017-2019 Dan Tès <https://github.com/delivrance>
# Copyright (C) 2017-2020 Dan <https://github.com/delivrance>
#
# This file is part of Pyrogram.
#
@@ -1,5 +1,5 @@
# Pyrogram - Telegram MTProto API Client Library for Python
# Copyright (C) 2017-2019 Dan Tès <https://github.com/delivrance>
# Copyright (C) 2017-2020 Dan <https://github.com/delivrance>
#
# This file is part of Pyrogram.
#
@@ -1,5 +1,5 @@
# Pyrogram - Telegram MTProto API Client Library for Python
# Copyright (C) 2017-2019 Dan Tès <https://github.com/delivrance>
# Copyright (C) 2017-2020 Dan <https://github.com/delivrance>
#
# This file is part of Pyrogram.
#

0 comments on commit 42c9baf

Please sign in to comment.
You can’t perform that action at this time.