Skip to content
Permalink
Browse files

Update Copyright

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

import os
import re
@@ -1,20 +1,20 @@
# Pyrogram - Telegram MTProto API Client Library for Python
# Copyright (C) 2017-2020 Dan <https://github.com/delivrance>
# Pyrogram - Telegram MTProto API Client Library for Python
# Copyright (C) 2017-2020 Dan <https://github.com/delivrance>
#
# This file is part of Pyrogram.
# 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 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.
# 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/>.
# You should have received a copy of the GNU Lesser General Public License
# along with Pyrogram. If not, see <http://www.gnu.org/licenses/>.

import ast
import os
@@ -1,20 +1,20 @@
# Pyrogram - Telegram MTProto API Client Library for Python
# Copyright (C) 2017-2020 Dan <https://github.com/delivrance>
# Pyrogram - Telegram MTProto API Client Library for Python
# Copyright (C) 2017-2020 Dan <https://github.com/delivrance>
#
# This file is part of Pyrogram.
# 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 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.
# 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/>.
# You should have received a copy of the GNU Lesser General Public License
# along with Pyrogram. If not, see <http://www.gnu.org/licenses/>.

import csv
import os
@@ -1,20 +1,20 @@
# Pyrogram - Telegram MTProto API Client Library for Python
# Copyright (C) 2017-2020 Dan <https://github.com/delivrance>
# Pyrogram - Telegram MTProto API Client Library for Python
# Copyright (C) 2017-2020 Dan <https://github.com/delivrance>
#
# This file is part of Pyrogram.
# 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 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.
# 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/>.
# You should have received a copy of the GNU Lesser General Public License
# along with Pyrogram. If not, see <http://www.gnu.org/licenses/>.

import shutil
from datetime import datetime
@@ -1,20 +1,20 @@
# Pyrogram - Telegram MTProto API Client Library for Python
# Copyright (C) 2017-2020 Dan <https://github.com/delivrance>
# Pyrogram - Telegram MTProto API Client Library for Python
# Copyright (C) 2017-2020 Dan <https://github.com/delivrance>
#
# This file is part of Pyrogram.
# 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 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.
# 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/>.
# You should have received a copy of the GNU Lesser General Public License
# along with Pyrogram. If not, see <http://www.gnu.org/licenses/>.

import datetime
import os
@@ -1,20 +1,20 @@
# Pyrogram - Telegram MTProto API Client Library for Python
# Copyright (C) 2017-2020 Dan <https://github.com/delivrance>
# Pyrogram - Telegram MTProto API Client Library for Python
# Copyright (C) 2017-2020 Dan <https://github.com/delivrance>
#
# This file is part of Pyrogram.
# 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 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.
# 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/>.
# You should have received a copy of the GNU Lesser General Public License
# along with Pyrogram. If not, see <http://www.gnu.org/licenses/>.

import os
import sys
@@ -1,21 +1,3 @@
# 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,21 +1,3 @@
# 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,21 +1,3 @@
# 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,21 +1,3 @@
# 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,21 +1,3 @@
# 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,21 +1,3 @@
# 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,21 +1,3 @@
# 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,21 +1,3 @@
# 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.

0 comments on commit 1996fb1

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