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

Page revisions

182 Commits

Author SHA1 Message Date
WyreYote
8af6fe12d6 Updated Code snippets (markdown) 2018-03-10 16:35:05 -07:00
Jannes Höke
ce60d15d78 Add missing TOC entry 2018-03-11 00:18:52 +01:00
WyreYote
6c98e0ac95 Updated Code snippets (markdown) 2018-03-10 16:14:28 -07:00
WyreYote
7e475ef941 Added image size sorting example. 2018-03-10 16:13:50 -07:00
Jannes Höke
a73c422899 Add "Save and load jobs using pickle" 2017-12-16 02:23:57 +01:00
Pavel Shakhov
335e2e70e0 Few TOC links not working 2017-12-02 14:59:55 +03:00
Mohammad Mahdi Rahimi
e045dabff9 Updated Code snippets (markdown) 2017-11-26 13:09:34 +03:30
idg5
8695b3549f Revert c0feaeb6af278c73480de47f90c567f4e963f872...a2864da9e8bd100d6e5332782ac4356d31aa3321 on Code snippets 2017-11-19 02:16:09 +00:00
Jacob Bom
a2864da9e8 Revert c0feaeb^...c0feaeb on Code snippets 2017-11-16 10:46:07 +01:00
idg5
c0feaeb6af Fixed code so it doesn't generate AttributeError: 'list' object has no attribute 'to_dict' when run 2017-11-16 05:39:42 +00:00
Jannes Höke
778b734413 Safe example for restarting a bot 2017-10-22 19:25:25 +02:00
Jeff
d344ac54fc add back missing "build dynamic menu" snippet 2017-10-10 11:12:56 +08:00
Joscha Götzer
3d3a9841c3 Updated Code snippets (markdown) 2017-10-02 04:36:33 +02:00
Joscha Götzer
94aba16408 Updated Code snippets (markdown) 2017-10-02 04:35:37 +02:00
Joscha Götzer
4b7588a41e Updated Code snippets (markdown) 2017-10-02 04:34:45 +02:00
Joscha Götzer
f24f8ea4e9 Updated Code snippets (markdown) 2017-10-02 04:32:50 +02:00
Joscha Götzer
7f6e7a80f1 Updated Code snippets (markdown) 2017-10-02 04:31:47 +02:00
Joscha Götzer
047c03a697 Updated Code snippets (markdown) 2017-10-02 04:31:12 +02:00
Joscha Götzer
1660535cba Updated Code snippets (markdown) 2017-10-02 04:29:21 +02:00
Joscha Götzer
6a79211094 Updated Code snippets (markdown) 2017-10-02 04:28:54 +02:00
Joscha Götzer
6a353b34a0 Updated Code snippets (markdown) 2017-10-02 04:26:20 +02:00
Joscha Götzer
76410dcb46 Updated Code snippets (markdown) 2017-10-02 04:23:38 +02:00
Joscha Götzer
c05f848cd2 Updated Code snippets (markdown) 2017-10-02 04:20:23 +02:00
Giovanni Rizzotti
ddb4cdbee3 Updated Code snippets (markdown) 2017-09-27 21:49:30 +02:00
Giovanni Rizzotti
d596fa6c6f Updated Code snippets (markdown) 2017-09-27 21:46:57 +02:00
Giovanni Rizzotti
f2dee2e094 Updated Code snippets (markdown) 2017-09-27 21:45:13 +02:00
Giovanni Rizzotti
63ead411c9 Updated Code snippets (markdown) 2017-09-27 21:42:15 +02:00
Giovanni Rizzotti
5d6c9aefdc Added "Storing ConversationHandler States" 2017-09-27 21:40:54 +02:00
Armin Tohidi
7a95fb2357 now works 2017-09-18 11:19:27 +04:30
Carles
9e8ebaab8b Fixed build_menu function. 2017-06-27 21:37:29 +02:00
Joscha Götzer
3be5144c37 Updated Code snippets (markdown) 2017-06-11 21:00:19 +02:00
Joscha Götzer
88e54f538b Simplified restricted decorator with the new update.effective_chat argument 2017-06-11 20:59:12 +02:00
Joscha Götzer
de2a7fafee Updated Code snippets (markdown) 2017-06-10 01:38:25 +02:00
Joscha Götzer
c201c7a62f Added list comprehension for beginners 2017-06-10 01:33:57 +02:00
Joscha Götzer
4e1affef0a Updated Code snippets (markdown) 2017-06-10 01:15:12 +02:00
Dario
9ebc17ec70 ReplyKeyboardHide is going to be deprecated. Replace with ReplyKeyboardRemove. Hide is meant when you keep the keyboard accessible but hidden, this just remove the keyboard 2017-06-06 18:18:55 +02:00
Rahiel Kasim
58341a9d7d Updated Code snippets (markdown) 2017-05-08 20:49:34 +02:00
Eldinnie
e16dbb9e94 Updated Code snippets (markdown) 2017-04-17 20:40:02 +02:00
Jannes Höke
0543cced1b add snippet for sending files from BytesIO 2017-03-26 14:04:10 +02:00
Jannes Höke
515f37c59a revert 6ee384d 2017-03-26 13:50:43 +02:00
Eli Gao
84be7d021e fix broken links 2017-03-19 01:30:28 +08:00
Dmitriy
8a026e0150 Optimize "chunking list" code 2017-03-11 13:12:15 +04:00
mengyyy
206c5c1632 Updated Code snippets (markdown) 2017-03-09 16:07:34 +08:00
mengyyy
3fc57e09f1 Updated Code snippets (markdown) 2017-03-09 11:09:06 +08:00
mengyyy
150fd7ed9d Send photo from url use bot.sendPhoto. Send audio use bot.sendAudio. Send file use bot.sendDocument. 2017-03-09 11:08:25 +08:00
Jeff
a8c99ff642 Fix wrong if clause (header/footer) in build_menu snippet which cause errors 2017-03-07 18:22:57 +08:00
Iulian Onofrei
a07cd6cfe9 Added handy hyperlinks to the official documentation 2017-03-01 22:44:56 +02:00
seb0stian
6ee384d212 fixed typo 2017-02-21 06:22:57 +01:00
Joscha Götzer
7473090dd8 Updated Code snippets (markdown) 2017-02-08 15:09:03 +01:00
Joscha Götzer
f01ad8cc24 Updated Code snippets (markdown) 2017-02-08 00:47:10 +01:00