GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — Replace git.io Links (#2872) · MSutt/python-telegram-bot@778eadb

File tree

Expand file treeCollapse file tree
Open diff view settings
Filter options
  • .github/ISSUE_TEMPLATE
    • question.yml
  • CHANGES.rst
  • docs/source/_static
    • dark.css
  • examples
    • README.md
    • arbitrarycallbackdatabot.py
    • inlinekeyboard.py
    • passportbot.py
  • setup.py
  • telegram
    • _dice.py
    • ext
      • _builders.py
      • _callbackcontext.py
      • _contexttypes.py
      • _conversationhandler.py
      • _extbot.py
  • tests
    • test_conversationhandler.py
Expand file treeCollapse file tree
Open diff view settings
Collapse file

‎.github/ISSUE_TEMPLATE/question.yml‎

Copy file name to clipboardExpand all lines: .github/ISSUE_TEMPLATE/question.yml
+2-2Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,9 +9,9 @@ body:
99
value: |
1010
Hey there, you have a question? We are happy to answer. Please make sure no similar question was opened already.
1111
12-
To make it easier for us to help you, please read this [article](https://git.io/JURJO).
12+
To make it easier for us to help you, please read this [article](https://github.com/python-telegram-bot/python-telegram-bot/wiki/Ask-Right).
1313
14-
Please mind that there is also a users' [Telegram group](https://t.me/pythontelegrambotgroup) for questions about the library. Questions asked there might be answered quicker than here. Moreover, [GitHub Discussions](https://git.io/JG3rk) offer a slightly better format to discuss usage questions.
14+
Please mind that there is also a users' [Telegram group](https://t.me/pythontelegrambotgroup) for questions about the library. Questions asked there might be answered quicker than here. Moreover, [GitHub Discussions](https://github.com/python-telegram-bot/python-telegram-bot/discussions) offer a slightly better format to discuss usage questions.
1515
1616
- type: textarea
1717
id: issue-faced
Collapse file

‎CHANGES.rst‎

Copy file name to clipboardExpand all lines: CHANGES.rst
+2-2Lines changed: 2 additions & 2 deletions
  • Display the source diff
  • Display the rich diff
Original file line numberDiff line numberDiff line change
@@ -895,7 +895,7 @@ Expect minor releases soon (mainly complete Bot API 4.4 support)
895895
- Error Handler now handles all types of exceptions (`#1485`_)
896896
- Return UTC from from_timestamp() (`#1485`_)
897897

898-
**See the wiki page at https://git.io/fxJuV for a detailed guide on how to migrate from version 11 to version 12.**
898+
**See the wiki page at https://github.com/python-telegram-bot/python-telegram-bot/wiki/Transition-guide-to-Version-12.0 for a detailed guide on how to migrate from version 11 to version 12.**
899899

900900
Context based callbacks (`#1100`_)
901901
----------------------------------
@@ -1100,7 +1100,7 @@ Non Bot API 4.0 changes:
11001100
.. _`#1172`: https://github.com/python-telegram-bot/python-telegram-bot/pull/1172
11011101
.. _`#1179`: https://github.com/python-telegram-bot/python-telegram-bot/pull/1179
11021102
.. _`#1184`: https://github.com/python-telegram-bot/python-telegram-bot/pull/1184
1103-
.. _`our telegram passport wiki page`: https://git.io/fAvYd
1103+
.. _`our telegram passport wiki page`: https://github.com/python-telegram-bot/python-telegram-bot/wiki/Telegram-Passport
11041104

11051105
Version 10.1.0
11061106
==============
Collapse file

‎docs/source/_static/dark.css‎

Copy file name to clipboardExpand all lines: docs/source/_static/dark.css
+1-1Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
/*
33
Generated by https://darkreader.org
44
Instructions: Install the extension on a Chromium-based browser
5-
Then do this to export the CSS: https://git.io/JOM6t and drop it here
5+
Then do this to export the CSS: https://github.com/darkreader/darkreader/issues/604#issuecomment-661107893 and drop it here
66
Some color values where manually changed - just search for "/*" in this file and insert them in the new css
77
*/
88
/* User-Agent Style */
Collapse file

‎examples/README.md‎

Copy file name to clipboardExpand all lines: examples/README.md
+2-2Lines changed: 2 additions & 2 deletions
  • Display the source diff
  • Display the rich diff
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ A even more complex example of a bot that uses the nested `ConversationHandler`s
2525
A basic example of a bot store conversation state and user_data over multiple restarts.
2626

2727
### [`inlinekeyboard.py`](https://github.com/python-telegram-bot/python-telegram-bot/blob/master/examples/inlinekeyboard.py)
28-
This example sheds some light on inline keyboards, callback queries and message editing. A wiki site explaining this examples lives at https://git.io/JOmFw.
28+
This example sheds some light on inline keyboards, callback queries and message editing. A wiki site explaining this examples lives [here](https://github.com/python-telegram-bot/python-telegram-bot/wiki/InlineKeyboard-Example).
2929

3030
### [`inlinekeyboard2.py`](https://github.com/python-telegram-bot/python-telegram-bot/blob/master/examples/inlinekeyboard2.py)
3131
A more complex example about inline keyboards, callback queries and message editing. This example showcases how an interactive menu could be build using inline keyboards.
@@ -40,7 +40,7 @@ A basic example of an [inline bot](https://core.telegram.org/bots/inline). Don't
4040
This example sheds some light on polls, poll answers and the corresponding handlers.
4141

4242
### [`passportbot.py`](https://github.com/python-telegram-bot/python-telegram-bot/blob/master/examples/passportbot.py)
43-
A basic example of a bot that can accept passports. Use in combination with [`passportbot.html`](https://github.com/python-telegram-bot/python-telegram-bot/blob/master/examples/passportbot.html). Don't forget to enable and configure payments with [@BotFather](https://telegram.me/BotFather). Check out this [guide](https://git.io/fAvYd) on Telegram passports in PTB.
43+
A basic example of a bot that can accept passports. Use in combination with [`passportbot.html`](https://github.com/python-telegram-bot/python-telegram-bot/blob/master/examples/passportbot.html). Don't forget to enable and configure payments with [@BotFather](https://telegram.me/BotFather). Check out this [guide](https://github.com/python-telegram-bot/python-telegram-bot/wiki/Telegram-Passport) on Telegram passports in PTB.
4444

4545
### [`paymentbot.py`](https://github.com/python-telegram-bot/python-telegram-bot/blob/master/examples/paymentbot.py)
4646
A basic example of a bot that can accept payments. Don't forget to enable and configure payments with [@BotFather](https://telegram.me/BotFather).
Collapse file

‎examples/arbitrarycallbackdatabot.py‎

Copy file name to clipboardExpand all lines: examples/arbitrarycallbackdatabot.py
+2-1Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,8 @@
44

55
"""This example showcases how PTBs "arbitrary callback data" feature can be used.
66
7-
For detailed info on arbitrary callback data, see the wiki page at https://git.io/JGBDI
7+
For detailed info on arbitrary callback data, see the wiki page at
8+
https://github.com/python-telegram-bot/python-telegram-bot/wiki/Arbitrary-callback_data
89
"""
910
import logging
1011
from typing import List, Tuple, cast
Collapse file

‎examples/inlinekeyboard.py‎

Copy file name to clipboardExpand all lines: examples/inlinekeyboard.py
+1-1Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44

55
"""
66
Basic example for a bot that uses inline keyboards. For an in-depth explanation, check out
7-
https://git.io/JOmFw.
7+
https://github.com/python-telegram-bot/python-telegram-bot/wiki/InlineKeyboard-Example.
88
"""
99
import logging
1010

Collapse file

‎examples/passportbot.py‎

Copy file name to clipboardExpand all lines: examples/passportbot.py
+2-1Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,8 @@
77
88
See https://telegram.org/blog/passport for info about what telegram passport is.
99
10-
See https://git.io/fAvYd for how to use Telegram Passport properly with python-telegram-bot.
10+
See https://github.com/python-telegram-bot/python-telegram-bot/wiki/Telegram-Passport
11+
for how to use Telegram Passport properly with python-telegram-bot.
1112
1213
"""
1314
import logging
Collapse file

‎setup.py‎

Copy file name to clipboardExpand all lines: setup.py
+1-1Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -62,7 +62,7 @@ def get_setup_kwargs(raw=False):
6262
author_email='[email protected]',
6363
license='LGPLv3',
6464
url='https://python-telegram-bot.org/',
65-
# Keywords supported by PyPI can be found at https://git.io/JtLIZ
65+
# Keywords supported by PyPI can be found at https://github.com/pypa/warehouse/blob/aafc5185e57e67d43487ce4faa95913dd4573e14/warehouse/templates/packaging/detail.html#L20-L58
6666
project_urls={
6767
"Documentation": "https://python-telegram-bot.readthedocs.io",
6868
"Bug Tracker": "https://github.com/python-telegram-bot/python-telegram-bot/issues",
Collapse file

‎telegram/_dice.py‎

Copy file name to clipboardExpand all lines: telegram/_dice.py
+3-2Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -50,8 +50,9 @@ class Dice(TelegramObject):
5050
Telegram.
5151
5252
If :attr:`emoji` is "🎰", each value corresponds to a unique combination of symbols, which
53-
can be found at our `wiki <https://git.io/JkeC6>`_. However, this behaviour is undocumented
54-
and might be changed by Telegram.
53+
can be found at our `wiki <https://github.com/python-telegram-bot/python-telegram-bot/wiki\
54+
/Code-snippets#map-a-slot-machine-dice-value-to-the-corresponding-symbols>`_.
55+
However, this behaviour is undocumented and might be changed by Telegram.
5556
5657
Args:
5758
value (:obj:`int`): Value of the dice. 1-6 for dice, darts and bowling balls, 1-5 for
Collapse file

‎telegram/ext/_builders.py‎

Copy file name to clipboardExpand all lines: telegram/ext/_builders.py
+34-16Lines changed: 34 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -626,7 +626,8 @@ def private_key(
626626
to be used for :attr:`telegram.ext.Dispatcher.bot`.
627627
628628
.. seealso:: `passportbot.py <https://github.com/python-telegram-bot/python-telegram-bot\
629-
/tree/master/examples#passportbotpy>`_, `Telegram Passports <https://git.io/fAvYd>`_
629+
/tree/master/examples#passportbotpy>`_, `Telegram Passports <https://github.com/python-telegram-bot\
630+
/python-telegram-bot/wiki/Telegram-Passport>`_
630631
631632
Args:
632633
private_key (:obj:`bytes` | :obj:`str` | :obj:`pathlib.Path`): The private key or the
@@ -645,7 +646,8 @@ def defaults(self: BuilderType, defaults: 'Defaults') -> BuilderType:
645646
"""Sets the :class:`telegram.ext.Defaults` object to be used for
646647
:attr:`telegram.ext.Dispatcher.bot`.
647648
648-
.. seealso:: `Adding Defaults <https://git.io/J0FGR>`_
649+
.. seealso:: `Adding Defaults <https://github.com/python-telegram-bot/python-telegram-bot\
650+
/wiki/Adding-defaults-to-your-bot>`_
649651
650652
Args:
651653
defaults (:class:`telegram.ext.Defaults`): The defaults.
@@ -663,8 +665,10 @@ def arbitrary_callback_data(
663665
cached in memory. If not called, only strings can be used as callback data and no data will
664666
be stored in memory.
665667
666-
.. seealso:: `Arbitrary callback_data <https://git.io/JGBDI>`_,
667-
`arbitrarycallbackdatabot.py <https://git.io/J0FBv>`_
668+
.. seealso:: `Arbitrary callback_data <https://github.com/python-telegram-bot\
669+
/python-telegram-bot/wiki/Arbitrary-callback_data>`_,
670+
`arbitrarycallbackdatabot.py <https://github.com/python-telegram-bot\
671+
/python-telegram-bot/tree/master/examples#arbitrarycallbackdatabotpy>`_
668672
669673
Args:
670674
arbitrary_callback_data (:obj:`bool` | :obj:`int`): If :obj:`True` is passed, the
@@ -750,7 +754,9 @@ def job_queue(
750754
"""Sets a :class:`telegram.ext.JobQueue` instance to be used for
751755
:attr:`telegram.ext.Dispatcher.job_queue`. If not called, a job queue will be instantiated.
752756
753-
.. seealso:: `JobQueue <https://git.io/J0FCN>`_, `timerbot.py <https://git.io/J0FWf>`_
757+
.. seealso:: `JobQueue <https://github.com/python-telegram-bot/python-telegram-bot/wiki\
758+
/Extensions-%E2%80%93-JobQueue>`_, `timerbot.py <https://github.com\
759+
/python-telegram-bot/python-telegram-bot/tree/master/examples#timerbotpy>`_
754760
755761
Note:
756762
* :meth:`telegram.ext.JobQueue.set_dispatcher` will be called automatically by
@@ -778,8 +784,10 @@ def persistence(
778784
"""Sets a :class:`telegram.ext.BasePersistence` instance to be used for
779785
:attr:`telegram.ext.Dispatcher.persistence`.
780786
781-
.. seealso:: `Making your bot persistent <https://git.io/J0FWM>`_,
782-
`persistentconversationbot.py <https://git.io/J0FW7>`_
787+
.. seealso:: `Making your bot persistent <https://github.com/python-telegram-bot/python-telegram-bot\
788+
/wiki/Making-your-bot-persistent>`_,
789+
`persistentconversationbot.py <https://github.com/python-telegram-bot/python-telegram-bot/tree\
790+
/master/examples#persistentconversationbotpy>`_
783791
784792
Warning:
785793
If a :class:`telegram.ext.ContextTypes` instance is set via :meth:`context_types`,
@@ -801,7 +809,8 @@ def context_types(
801809
"""Sets a :class:`telegram.ext.ContextTypes` instance to be used for
802810
:attr:`telegram.ext.Dispatcher.context_types`.
803811
804-
.. seealso:: `contexttypesbot.py <https://git.io/J0F8d>`_
812+
.. seealso:: `contexttypesbot.py <https://github.com/python-telegram-bot/python-telegram-bot/tree/master\
813+
/examples#contexttypesbotpy>`_
805814
806815
Args:
807816
context_types (:class:`telegram.ext.ContextTypes`, optional): The context types.
@@ -984,7 +993,8 @@ def private_key(
984993
to be used for :attr:`telegram.ext.Updater.bot`.
985994
986995
.. seealso:: `passportbot.py <https://github.com/python-telegram-bot/python-telegram-bot\
987-
/tree/master/examples#passportbotpy>`_, `Telegram Passports <https://git.io/fAvYd>`_
996+
/tree/master/examples#passportbotpy>`_, `Telegram Passports <https://github.com/python-telegram-bot\
997+
/python-telegram-bot/wiki/Telegram-Passport>`_
988998
989999
Args:
9901000
private_key (:obj:`bytes` | :obj:`str` | :obj:`pathlib.Path`): The private key or the
@@ -1003,7 +1013,8 @@ def defaults(self: BuilderType, defaults: 'Defaults') -> BuilderType:
10031013
"""Sets the :class:`telegram.ext.Defaults` object to be used for
10041014
:attr:`telegram.ext.Updater.bot`.
10051015
1006-
.. seealso:: `Adding Defaults <https://git.io/J0FGR>`_
1016+
.. seealso:: `Adding Defaults <https://github.com/python-telegram-bot/python-telegram-bot\
1017+
/wiki/Adding-defaults-to-your-bot>`_
10071018
10081019
Args:
10091020
defaults (:class:`telegram.ext.Defaults`): The defaults.
@@ -1021,8 +1032,10 @@ def arbitrary_callback_data(
10211032
cached in memory. If not called, only strings can be used as callback data and no data will
10221033
be stored in memory.
10231034
1024-
.. seealso:: `Arbitrary callback_data <https://git.io/JGBDI>`_,
1025-
`arbitrarycallbackdatabot.py <https://git.io/J0FBv>`_
1035+
.. seealso:: `Arbitrary callback_data <https://github.com/python-telegram-bot\
1036+
/python-telegram-bot/wiki/Arbitrary-callback_data>`_,
1037+
`arbitrarycallbackdatabot.py <https://github.com/python-telegram-bot\
1038+
/python-telegram-bot/tree/master/examples#arbitrarycallbackdatabotpy>`_
10261039
10271040
Args:
10281041
arbitrary_callback_data (:obj:`bool` | :obj:`int`): If :obj:`True` is passed, the
@@ -1111,7 +1124,9 @@ def job_queue(
11111124
"""Sets a :class:`telegram.ext.JobQueue` instance to be used for the
11121125
:attr:`telegram.ext.Updater.dispatcher`. If not called, a job queue will be instantiated.
11131126
1114-
.. seealso:: `JobQueue <https://git.io/J0FCN>`_, `timerbot.py <https://git.io/J0FWf>`_,
1127+
.. seealso:: `JobQueue <https://github.com/python-telegram-bot/python-telegram-bot\
1128+
/wiki/Extensions-%E2%80%93-JobQueue>`_, `timerbot.py <https://github.com\
1129+
/python-telegram-bot/python-telegram-bot/tree/master/examples#timerbotpy>`_,
11151130
:attr:`telegram.ext.Dispatcher.job_queue`
11161131
11171132
Note:
@@ -1140,8 +1155,10 @@ def persistence(
11401155
"""Sets a :class:`telegram.ext.BasePersistence` instance to be used for the
11411156
:attr:`telegram.ext.Updater.dispatcher`.
11421157
1143-
.. seealso:: `Making your bot persistent <https://git.io/J0FWM>`_,
1144-
`persistentconversationbot.py <https://git.io/J0FW7>`_,
1158+
.. seealso:: `Making your bot persistent <https://github.com/python-telegram-bot\
1159+
/python-telegram-bot/wiki/Making-your-bot-persistent>`_,
1160+
`persistentconversationbot.py <https://github.com/python-telegram-bot\
1161+
/python-telegram-bot/tree/master/examples#persistentconversationbotpy>`_,
11451162
:attr:`telegram.ext.Dispatcher.persistence`
11461163
11471164
Warning:
@@ -1164,7 +1181,8 @@ def context_types(
11641181
"""Sets a :class:`telegram.ext.ContextTypes` instance to be used for the
11651182
:attr:`telegram.ext.Updater.dispatcher`.
11661183
1167-
.. seealso:: `contexttypesbot.py <https://git.io/J0F8d>`_,
1184+
.. seealso:: `contexttypesbot.py <https://github.com/python-telegram-bot/python-telegram-bot/tree\
1185+
/master/examples#contexttypesbotpy>`_,
11681186
:attr:`telegram.ext.Dispatcher.context_types`.
11691187
11701188
Args:

0 commit comments

Comments
0 (0)
You are visitor 01402792 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.