Frequently Asked Questions ========================== This FAQ page provides answers to common questions about Pyrogram and, to some extent, Telegram in general. **Contents** - :doc:`why-is-the-api-key-needed-for-bots` - :doc:`how-to-use-webhooks` - :doc:`using-the-same-file-id-across-different-accounts` - :doc:`using-multiple-clients-at-once-on-the-same-account` - :doc:`client-started-but-nothing-happens` - :doc:`what-are-the-ip-addresses-of-telegram-data-centers` - :doc:`migrating-the-account-to-another-data-center` - :doc:`why-is-the-client-reacting-slowly-in-supergroups-channels` - :doc:`peer-id-invalid-error` - :doc:`code-hangs-when-calling-stop-restart-add-remove-handler` - :doc:`unicodeencodeerror-codec-cant-encode` - :doc:`uploading-with-urls-gives-error-webpage-curl-failed` - :doc:`why-is-the-event-handler-triggered-twice-or-more` - :doc:`sqlite3-operationalerror-database-is-locked` - :doc:`sqlite3-interfaceerror-error-binding-parameter` - :doc:`socket-send-raised-exception-oserror-timeouterror` - :doc:`how-to-avoid-flood-waits` - :doc:`the-account-has-been-limited-deactivated` .. toctree:: :hidden: why-is-the-api-key-needed-for-bots how-to-use-webhooks using-the-same-file-id-across-different-accounts using-multiple-clients-at-once-on-the-same-account client-started-but-nothing-happens what-are-the-ip-addresses-of-telegram-data-centers migrating-the-account-to-another-data-center why-is-the-client-reacting-slowly-in-supergroups-channels peer-id-invalid-error code-hangs-when-calling-stop-restart-add-remove-handler unicodeencodeerror-codec-cant-encode uploading-with-urls-gives-error-webpage-curl-failed why-is-the-event-handler-triggered-twice-or-more sqlite3-operationalerror-database-is-locked sqlite3-interfaceerror-error-binding-parameter socket-send-raised-exception-oserror-timeouterror how-to-avoid-flood-waits the-account-has-been-limited-deactivated