send using file id in database and use sendPhoto, sendVideo to send it to chat.
I’m implementing a cloning system in bot, is there any alternative way to send the same file id using another bot?
One workaround I know is to save the file in a local or remote server (object storage), and send using the Url
But bot api only supports upto 50mb for this, is there any way to send large files?
store message id instead of file id
Local API server supports up to 2GB https://github.com/tdlib/telegram-bot-api
But what if someone deleted that message? Should I forward each message to a channel or group, store it and then forward using other bot?
Ya but I don’t want to host it It’s gonna mess up the old file ids and the earlier content won’t be send Kind of hassle managing bot + storage + local api server
Thanks, gonna try this Does bot api allow to forward without the forwarded tag?
Okay Cool
then how retrieve file, not getMessage in botapi right
https://t.me/BotTalk/676336
Sir, how are you 😁
Is there a limit on how old messages can bot api fetch? Like bot cannot delete messages earlier than 48 hours, is this also a case for copyMessage?
Обсуждают сегодня