tgcf
tgcf copied to clipboard
messages forwarded two times if it has inline button
but i have one problem, some messages forwarder two times , duplicate .
May be those messages were there two times, and later one was deleted in source. It's impossible for tgcf to send a message twice. YOU ARE MAKING SOME MISTAKE. Or may be, Telegram's servers, sent an update twice, accidentally in a rare case.
I ran it with -l command
what ? what do you mean ? what you ran ? speak details
I have already explained how to see logs for systemctl.
Read this portion of the wiki. And in this answer https://github.com/aahnik/tgcf/discussions/219#discussioncomment-920558, I have already given links to two StackOverflow posts, that explain how to see full logs/live logs.
is it possible to see what text forwarded ?
No, that is not logged.
Originally posted by @aahnik in https://github.com/aahnik/tgcf/discussions/219#discussioncomment-931368
the original message has two button . both link to a bot
for example the of following image is in the original channel and the second one is in my chat:
I think i found out the cus .
the source channel , first post a message , then delete it and resend it with buttons .
is there any way to delete then sent message if source remove it ?
There is a setting in the script called delete_sync that when set to true does exactly what you ask, if a message is deleted in source chat is also deleted in destination chat. But it has some caveats. Check https://github.com/aahnik/tgcf/wiki/How-to-configure-tgcf-%3F#schema and also #232 for the limitations. In the future, all will be resolved by implementing persistent storage.