Y
Y
Yourmind2019-12-04 03:15:42
API
Yourmind, 2019-12-04 03:15:42

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,
5de6fa0fcbf1d235739792.png
5de6fa2fa50c5101941387.png
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

1 answer(s)
S
Sebastian Lore, 2019-12-04
@Yourmind

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 question

Ask a Question

731 491 924 answers to any question