Answer the question
In order to leave comments, you need to log in
Which field in the telegram channel records object says that this post has been reposted?
I created my telegram client using the telethon library on python3
here is the code for getting a post and reading the text on it from the channel kanal_
posts = client.get_messages(kanal_, limit=1000)
for post in posts:
print(post.message)
object visible , which is a post on the channel,
this post is reposted from another channel
and I can’t find where exactly it is marked that this post was reposted? and, accordingly, there should be some kind of infa about the author of the post?
Answer the question
In order to leave comments, you need to log in
Most likely you need the forward attribute. Not sure, but maybe it will be None if it's not a repost.
Message (see fwd_from).
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question