You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Describe the bug
I'm trying to forward messages from a channel to a group using chat IDs on command line tgcf and I got the following error
ChatIdInvalidError: Invalid object ID for a chat. Make sure to pass the right types, for instance making sure that the
request is designed for chats (not channels/megagroups) or otherwise look for a different one more suited\nAn example
working with a megagroup and AddChatUserRequest, it will fail because megagroups are channels. Use
InviteToChannelRequest instead (caused by GetHistoryRequest)
I'm running on Conda environment using Python 3.11.8 on Windows 11 2H11
when I use usernames like @channelexample everything is fine, just the ID's is not working.
I'm using the parameters -l past
The text was updated successfully, but these errors were encountered:
Describe the bug
I'm trying to forward messages from a channel to a group using chat IDs on command line tgcf and I got the following error
ChatIdInvalidError: Invalid object ID for a chat. Make sure to pass the right types, for instance making sure that the
request is designed for chats (not channels/megagroups) or otherwise look for a different one more suited\nAn example
working with a megagroup and AddChatUserRequest, it will fail because megagroups are channels. Use
InviteToChannelRequest instead (caused by GetHistoryRequest)
I'm running on Conda environment using Python 3.11.8 on Windows 11 2H11
when I use usernames like @channelexample everything is fine, just the ID's is not working.
I'm using the parameters -l past
The text was updated successfully, but these errors were encountered: