Replies: 4 comments 4 replies
-
Hey, thanks for reaching out. I would recommend looking at "Your First Bot" to get the understanding of how the new version works. Then you can use the simple Echobot example, but instead of just echoing the message back to the user, use |
Beta Was this translation helpful? Give feedback.
-
You can't add your bot to a private channel where you only have read only
access.
I only see paid options to do this https://docs.junction.space/forwarding/
but no tutorial or documentation anywhere.
Same situation here:
https://stackoverflow.com/questions/67343166/how-to-allow-telegram-bot-to-read-messages-in-a-private-channel-that-im-in-not
…On Thu, 11 May, 2023, 10:55 pm Dmitry Kolomatskiy, ***@***.***> wrote:
Thanks @lemontree210 <https://github.com/lemontree210> I am assuming to
do all this, the bot I created from BotFather needs to be added as an
administrator to the private channel right? But what If I am just a
subscriber to a closed private channel and I can only read incoming
messages and don't have admin access to add my bot as an admin to this
closed private channel or copy messages from this private channel?
Hmm, I don't think the bot must be an administrator for this action
(there's nothing about it in Bot API
<https://core.telegram.org/bots/api#forwardmessage>)
—
Reply to this email directly, view it on GitHub
<#3701 (reply in thread)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AE3DPA5RRNOF3UKZYMQMACTXFUOHDANCNFSM6AAAAAAX6LRIBQ>
.
You are receiving this because you authored the thread.Message ID:
<python-telegram-bot/python-telegram-bot/repo-discussions/3701/comments/5876065
@github.com>
|
Beta Was this translation helpful? Give feedback.
-
you can use https://github.com/iyear/tdl to read/export protected channel message, but import not support in this tool |
Beta Was this translation helpful? Give feedback.
-
Can someone teach me all this please |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
Hi,
I am trying to create a simple python script that I can deploy in some serverless env like AWS lambda where I continously listen to telegram messages incoming in a private telegram channel and forward the received message instantly to my personal channel or to another telegram user.
I came across this article which uses an older version of
python-telegram-bot
to listen to messages and forward it.https://stackoverflow.com/questions/74910268/how-can-i-make-a-telegram-bot-listen-to-messages-from-a-different-chat-with-pyth
But this no longer works in the newer version of the library. I am new to
python-telegram-bot
library and the wiki page is a bit overwhelming. Can anyone please suggest some simple code to get started for this requirement?Best Regards,
Dilip
Beta Was this translation helpful? Give feedback.
All reactions