Code snippets
Hinrich Mahler edited this page 2023-09-10 13:04:00 +02:00

Page revisions

182 Commits

Author SHA1 Message Date
Bibo-Joshi
61dea5110e Markdown V2 2020-03-28 16:48:21 +01:00
Bibo-Joshi
ae7bb9aa78 Updated Code snippets (markdown) 2020-03-05 08:31:22 +01:00
Bibo-Joshi
4009b6b50a To exclude channel posts from MessageHandler user ~Filters.update.channel_post 2020-03-04 21:51:21 +01:00
Daan
a2ef4a08d5 Added a small part to "Other useful stuff" on how to exclude automatically forwarded channel posts if there's a channel linked to the discussion group. 2020-03-04 21:42:49 +01:00
Schmidt Cristian Hernán
d1778d3973 Change the functions for load/save jobs (more safe for multi-threading) 2020-02-19 04:36:06 -03:00
Bibo-Joshi
76a1180c89 Updated Code snippets (markdown) 2020-02-18 12:32:30 +01:00
SpcCw
7c688b9ce9 add example of parsing entities as BBCode formatting 2020-02-18 13:54:05 +03:00
Eana Hufwe
3a12b374e2 fix typo 2020-02-10 20:10:35 +08:00
Eldinnie
c8d8037b08 Updated Code snippets (markdown) 2020-02-06 11:49:41 +01:00
Bibo-Joshi
f8204ec7f1 Add snippet on default values 2020-02-03 19:36:03 +01:00
Poolitzer
b640c512e9 typo 2020-01-04 18:47:46 -08:00
Poolitzer
1789a67307 remove beta note 2020-01-04 00:43:20 -08:00
leviatas
f0f4514097 Updated Code snippets (markdown) 2019-09-19 13:59:32 -03:00
leviatas
3297c86f50 Updated Code snippets (markdown) 2019-09-19 13:58:29 -03:00
Poolitzer
c1a7c322f7 Updated Code snippets (markdown) 2019-09-09 15:15:10 -07:00
tobiaswicker
1e525f836b Fix error handler producing an error itself 2019-09-09 11:44:18 +02:00
tobiaswicker
8759fc88c5 Fix missing double quote 2019-09-09 11:12:38 +02:00
Poolitzer
0809298006 remove beta note 2019-09-01 22:31:49 -07:00
Poolitzer
a2215b6227 add a good error handler 2019-08-31 17:00:50 -07:00
Thorbijoern
6d175dbc9d Revert 52ff0eaf6df56682e6d022b0a4d4b17f1b414103...51160aab3601d2bc1e00d69f2cf5b4f540fc5f43 on Code snippets 2019-07-13 19:01:56 +02:00
Thorbijoern
51160aab36 Updated Code snippets (markdown) 2019-07-13 18:59:39 +02:00
Eldinnie
52ff0eaf6d Updated Code snippets (markdown) 2019-06-14 13:22:08 +02:00
Eldinnie
00937bcc6f updatre snippet to v12 2019-06-14 13:13:19 +02:00
Arman
c83f785116 Updated Code snippets (markdown) 2019-06-09 14:06:55 +03:00
rrr3try
c9524779c8 The row must be a list 2019-06-01 10:19:39 +05:00
Eldinnie
f96eb9009e reverting 2019-05-03 00:20:19 +02:00
Stanisław
3973973227 make restrict access snippet work 2019-05-02 23:44:02 +02:00
Jasmin Bom
5339a1a15e Updating a ton of wiki pages to v12
I've probably missed some stuff... please edit if so ;)
2019-03-03 16:14:26 +01:00
Ambro
d4a3352a54 typo 2019-03-02 16:48:15 -03:00
Ambro
7a6d7f2160 Add send_typing_action and send_action decorators that work with changes introduced in v12 2019-03-02 16:46:34 -03:00
Eldinnie
d23093978b Revert 4be3e0cc79ffea3360acb2127a6a09ef2a4fedfe...67108e9ab0ceb601640cad1a814dda6e9a8d554e on Code snippets 2019-01-24 16:04:36 +01:00
Temirzhan Yussupov
67108e9ab0 It should be like this 2019-01-24 20:58:52 +06:00
Iulian Onofrei
4be3e0cc79 Make it clearer that `parse_entities` also returns the text 2018-12-11 23:30:33 +02:00
青鸟
6a9ae560b8 add get add group msg code 2018-12-10 02:31:35 +08:00
Ambro
c20bfc1a54 Fix send_action decorator to also work on conversation handlers 2018-11-25 19:01:54 -03:00
Rys Artem
df3debd4ae Edit refers to issue https://github.com/python-telegram-bot/python-telegram-bot/issues/1288. This change allows to use send_typing_action in ConversationHandlers function-handlers. 2018-11-07 17:23:24 +02:00
artigianidelweb
42c538babb Updated Code snippets (markdown) 2018-10-08 16:36:07 +02:00
artigianidelweb
7b36dffa95 Updated Code snippets (markdown) 2018-10-08 16:34:59 +02:00
artigianidelweb
6507c881a4 Updated Code snippets (markdown) 2018-10-08 16:34:00 +02:00
artigianidelweb
f903a6c0aa Updated Code snippets (markdown) 2018-10-08 16:32:34 +02:00
Ambro17
9fbd88ae1d Fix index shortcut links to Advanced Snippets Usages 2018-09-29 17:36:26 -03:00
Ambro17
942bdb958d Add decorator snippet to send actions while handling commands. 2018-09-29 17:27:21 -03:00
Ak4zh
a25393edbb Check if job queue is not None before trying to save jobs 2018-09-17 02:32:56 +05:30
Jacob Bom
26bf2e2ccc Updated Code snippets (markdown) 2018-05-24 17:03:28 +02:00
Ivan Khomutov
c7898191d7 Updated Code snippets (markdown) 2018-05-23 17:03:30 +02:00
Kuzma Leshakov
0a6843ce53 Doesnot work otherwise 2018-04-21 21:46:55 +03:00
Rico
11fc55006f The get_entities method is no longer available. 2018-04-15 20:01:06 +02:00
Jeff
55fdbc284f fix renamed attributes for save and loading jobs 2018-03-28 11:32:44 +08:00
Leo
663c6a5f35 This info would have saved me an hour of searching! 2018-03-24 18:46:51 +01:00
Jannes Höke
173c72257c Add snippet for flag emoji generation 2018-03-13 21:52:01 +01:00