Cannot use bot account for running tgcf in past mode #126
-
I'm trying to run the script on Windows 10 past mode with a bot account but it gives me this error "telethon.errors.rpcerrorlist.BotMethodInvalidError: The API access for bot users is restricted. The method you tried to invoke cannot be executed as a bot (caused by GetHistoryRequest)" What is causing this and how can I fix it? |
Beta Was this translation helpful? Give feedback.
Replies: 5 comments 7 replies
-
Bot login can't be used to iterate through the history of a chat. Telegram does not allow that. Log in using your phone number. (user account) Bot login will work while using |
Beta Was this translation helpful? Give feedback.
-
@aahnik Please update the Wiki to clearly say so. Thank you! |
Beta Was this translation helpful? Give feedback.
-
Hi, Im similar error. |
Beta Was this translation helpful? Give feedback.
-
Can you help me whith install this plugin? |
Beta Was this translation helpful? Give feedback.
-
Can inline buttons help with this error? |
Beta Was this translation helpful? Give feedback.
Bot login can't be used to iterate through the history of a chat. Telegram does not allow that.
Log in using your phone number. (user account)
Bot login will work while using
tgcf
in live mode but not in past mode.