Skip to content

Commit 1996fb1

Browse files
committed
Update Copyright
1 parent 4a3b1a0 commit 1996fb1

File tree

270 files changed

+3380
-3565
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

270 files changed

+3380
-3565
lines changed

compiler/api/compiler.py

Lines changed: 13 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -1,20 +1,20 @@
1-
# Pyrogram - Telegram MTProto API Client Library for Python
2-
# Copyright (C) 2017-2020 Dan <https://github.com/delivrance>
1+
# Pyrogram - Telegram MTProto API Client Library for Python
2+
# Copyright (C) 2017-2020 Dan <https://github.com/delivrance>
33
#
4-
# This file is part of Pyrogram.
4+
# This file is part of Pyrogram.
55
#
6-
# Pyrogram is free software: you can redistribute it and/or modify
7-
# it under the terms of the GNU Lesser General Public License as published
8-
# by the Free Software Foundation, either version 3 of the License, or
9-
# (at your option) any later version.
6+
# Pyrogram is free software: you can redistribute it and/or modify
7+
# it under the terms of the GNU Lesser General Public License as published
8+
# by the Free Software Foundation, either version 3 of the License, or
9+
# (at your option) any later version.
1010
#
11-
# Pyrogram is distributed in the hope that it will be useful,
12-
# but WITHOUT ANY WARRANTY; without even the implied warranty of
13-
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
14-
# GNU Lesser General Public License for more details.
11+
# Pyrogram is distributed in the hope that it will be useful,
12+
# but WITHOUT ANY WARRANTY; without even the implied warranty of
13+
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
14+
# GNU Lesser General Public License for more details.
1515
#
16-
# You should have received a copy of the GNU Lesser General Public License
17-
# along with Pyrogram. If not, see <http://www.gnu.org/licenses/>.
16+
# You should have received a copy of the GNU Lesser General Public License
17+
# along with Pyrogram. If not, see <http://www.gnu.org/licenses/>.
1818

1919
import os
2020
import re

compiler/docs/compiler.py

Lines changed: 13 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -1,20 +1,20 @@
1-
# Pyrogram - Telegram MTProto API Client Library for Python
2-
# Copyright (C) 2017-2020 Dan <https://github.com/delivrance>
1+
# Pyrogram - Telegram MTProto API Client Library for Python
2+
# Copyright (C) 2017-2020 Dan <https://github.com/delivrance>
33
#
4-
# This file is part of Pyrogram.
4+
# This file is part of Pyrogram.
55
#
6-
# Pyrogram is free software: you can redistribute it and/or modify
7-
# it under the terms of the GNU Lesser General Public License as published
8-
# by the Free Software Foundation, either version 3 of the License, or
9-
# (at your option) any later version.
6+
# Pyrogram is free software: you can redistribute it and/or modify
7+
# it under the terms of the GNU Lesser General Public License as published
8+
# by the Free Software Foundation, either version 3 of the License, or
9+
# (at your option) any later version.
1010
#
11-
# Pyrogram is distributed in the hope that it will be useful,
12-
# but WITHOUT ANY WARRANTY; without even the implied warranty of
13-
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
14-
# GNU Lesser General Public License for more details.
11+
# Pyrogram is distributed in the hope that it will be useful,
12+
# but WITHOUT ANY WARRANTY; without even the implied warranty of
13+
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
14+
# GNU Lesser General Public License for more details.
1515
#
16-
# You should have received a copy of the GNU Lesser General Public License
17-
# along with Pyrogram. If not, see <http://www.gnu.org/licenses/>.
16+
# You should have received a copy of the GNU Lesser General Public License
17+
# along with Pyrogram. If not, see <http://www.gnu.org/licenses/>.
1818

1919
import ast
2020
import os

compiler/error/compiler.py

Lines changed: 13 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -1,20 +1,20 @@
1-
# Pyrogram - Telegram MTProto API Client Library for Python
2-
# Copyright (C) 2017-2020 Dan <https://github.com/delivrance>
1+
# Pyrogram - Telegram MTProto API Client Library for Python
2+
# Copyright (C) 2017-2020 Dan <https://github.com/delivrance>
33
#
4-
# This file is part of Pyrogram.
4+
# This file is part of Pyrogram.
55
#
6-
# Pyrogram is free software: you can redistribute it and/or modify
7-
# it under the terms of the GNU Lesser General Public License as published
8-
# by the Free Software Foundation, either version 3 of the License, or
9-
# (at your option) any later version.
6+
# Pyrogram is free software: you can redistribute it and/or modify
7+
# it under the terms of the GNU Lesser General Public License as published
8+
# by the Free Software Foundation, either version 3 of the License, or
9+
# (at your option) any later version.
1010
#
11-
# Pyrogram is distributed in the hope that it will be useful,
12-
# but WITHOUT ANY WARRANTY; without even the implied warranty of
13-
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
14-
# GNU Lesser General Public License for more details.
11+
# Pyrogram is distributed in the hope that it will be useful,
12+
# but WITHOUT ANY WARRANTY; without even the implied warranty of
13+
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
14+
# GNU Lesser General Public License for more details.
1515
#
16-
# You should have received a copy of the GNU Lesser General Public License
17-
# along with Pyrogram. If not, see <http://www.gnu.org/licenses/>.
16+
# You should have received a copy of the GNU Lesser General Public License
17+
# along with Pyrogram. If not, see <http://www.gnu.org/licenses/>.
1818

1919
import csv
2020
import os

docs/releases.py

Lines changed: 13 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -1,20 +1,20 @@
1-
# Pyrogram - Telegram MTProto API Client Library for Python
2-
# Copyright (C) 2017-2020 Dan <https://github.com/delivrance>
1+
# Pyrogram - Telegram MTProto API Client Library for Python
2+
# Copyright (C) 2017-2020 Dan <https://github.com/delivrance>
33
#
4-
# This file is part of Pyrogram.
4+
# This file is part of Pyrogram.
55
#
6-
# Pyrogram is free software: you can redistribute it and/or modify
7-
# it under the terms of the GNU Lesser General Public License as published
8-
# by the Free Software Foundation, either version 3 of the License, or
9-
# (at your option) any later version.
6+
# Pyrogram is free software: you can redistribute it and/or modify
7+
# it under the terms of the GNU Lesser General Public License as published
8+
# by the Free Software Foundation, either version 3 of the License, or
9+
# (at your option) any later version.
1010
#
11-
# Pyrogram is distributed in the hope that it will be useful,
12-
# but WITHOUT ANY WARRANTY; without even the implied warranty of
13-
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
14-
# GNU Lesser General Public License for more details.
11+
# Pyrogram is distributed in the hope that it will be useful,
12+
# but WITHOUT ANY WARRANTY; without even the implied warranty of
13+
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
14+
# GNU Lesser General Public License for more details.
1515
#
16-
# You should have received a copy of the GNU Lesser General Public License
17-
# along with Pyrogram. If not, see <http://www.gnu.org/licenses/>.
16+
# You should have received a copy of the GNU Lesser General Public License
17+
# along with Pyrogram. If not, see <http://www.gnu.org/licenses/>.
1818

1919
import shutil
2020
from datetime import datetime

docs/sitemap.py

Lines changed: 13 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -1,20 +1,20 @@
1-
# Pyrogram - Telegram MTProto API Client Library for Python
2-
# Copyright (C) 2017-2020 Dan <https://github.com/delivrance>
1+
# Pyrogram - Telegram MTProto API Client Library for Python
2+
# Copyright (C) 2017-2020 Dan <https://github.com/delivrance>
33
#
4-
# This file is part of Pyrogram.
4+
# This file is part of Pyrogram.
55
#
6-
# Pyrogram is free software: you can redistribute it and/or modify
7-
# it under the terms of the GNU Lesser General Public License as published
8-
# by the Free Software Foundation, either version 3 of the License, or
9-
# (at your option) any later version.
6+
# Pyrogram is free software: you can redistribute it and/or modify
7+
# it under the terms of the GNU Lesser General Public License as published
8+
# by the Free Software Foundation, either version 3 of the License, or
9+
# (at your option) any later version.
1010
#
11-
# Pyrogram is distributed in the hope that it will be useful,
12-
# but WITHOUT ANY WARRANTY; without even the implied warranty of
13-
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
14-
# GNU Lesser General Public License for more details.
11+
# Pyrogram is distributed in the hope that it will be useful,
12+
# but WITHOUT ANY WARRANTY; without even the implied warranty of
13+
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
14+
# GNU Lesser General Public License for more details.
1515
#
16-
# You should have received a copy of the GNU Lesser General Public License
17-
# along with Pyrogram. If not, see <http://www.gnu.org/licenses/>.
16+
# You should have received a copy of the GNU Lesser General Public License
17+
# along with Pyrogram. If not, see <http://www.gnu.org/licenses/>.
1818

1919
import datetime
2020
import os

docs/source/conf.py

Lines changed: 13 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -1,20 +1,20 @@
1-
# Pyrogram - Telegram MTProto API Client Library for Python
2-
# Copyright (C) 2017-2020 Dan <https://github.com/delivrance>
1+
# Pyrogram - Telegram MTProto API Client Library for Python
2+
# Copyright (C) 2017-2020 Dan <https://github.com/delivrance>
33
#
4-
# This file is part of Pyrogram.
4+
# This file is part of Pyrogram.
55
#
6-
# Pyrogram is free software: you can redistribute it and/or modify
7-
# it under the terms of the GNU Lesser General Public License as published
8-
# by the Free Software Foundation, either version 3 of the License, or
9-
# (at your option) any later version.
6+
# Pyrogram is free software: you can redistribute it and/or modify
7+
# it under the terms of the GNU Lesser General Public License as published
8+
# by the Free Software Foundation, either version 3 of the License, or
9+
# (at your option) any later version.
1010
#
11-
# Pyrogram is distributed in the hope that it will be useful,
12-
# but WITHOUT ANY WARRANTY; without even the implied warranty of
13-
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
14-
# GNU Lesser General Public License for more details.
11+
# Pyrogram is distributed in the hope that it will be useful,
12+
# but WITHOUT ANY WARRANTY; without even the implied warranty of
13+
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
14+
# GNU Lesser General Public License for more details.
1515
#
16-
# You should have received a copy of the GNU Lesser General Public License
17-
# along with Pyrogram. If not, see <http://www.gnu.org/licenses/>.
16+
# You should have received a copy of the GNU Lesser General Public License
17+
# along with Pyrogram. If not, see <http://www.gnu.org/licenses/>.
1818

1919
import os
2020
import sys

examples/bot_keyboards.py

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

examples/callback_queries.py

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

examples/echobot.py

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

examples/get_chat_members.py

Lines changed: 0 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -1,21 +1,3 @@
1-
# Pyrogram - Telegram MTProto API Client Library for Python
2-
# Copyright (C) 2017-2020 Dan <https://github.com/delivrance>
3-
#
4-
# This file is part of Pyrogram.
5-
#
6-
# Pyrogram is free software: you can redistribute it and/or modify
7-
# it under the terms of the GNU Lesser General Public License as published
8-
# by the Free Software Foundation, either version 3 of the License, or
9-
# (at your option) any later version.
10-
#
11-
# Pyrogram is distributed in the hope that it will be useful,
12-
# but WITHOUT ANY WARRANTY; without even the implied warranty of
13-
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
14-
# GNU Lesser General Public License for more details.
15-
#
16-
# You should have received a copy of the GNU Lesser General Public License
17-
# along with Pyrogram. If not, see <http://www.gnu.org/licenses/>.
18-
191
"""This example shows how to get all the members of a chat."""
202

213
from pyrogram import Client

0 commit comments

Comments
 (0)