Get and discard all pending updates before first poll of the bot. :meta private: :return:
(self)
| 665 | return [types.Update.de_json(ju) for ju in json_updates] |
| 666 | |
| 667 | def __skip_updates(self): |
| 668 | """ |
| 669 | Get and discard all pending updates before first poll of the bot. |
| 670 | |
| 671 | :meta private: |
| 672 | |
| 673 | :return: |
| 674 | """ |
| 675 | self.get_updates(offset=-1) |
| 676 | |
| 677 | def __retrieve_updates(self, timeout=20, long_polling_timeout=20, allowed_updates=None): |
| 678 | """ |
no test coverage detected