Code Monkey home page Code Monkey logo

Comments (7)

bipinkrish avatar bipinkrish commented on August 12, 2024

Can you give me more info

from save-restricted-bot.

TruePhad avatar TruePhad commented on August 12, 2024

Sorry for the delay, I didn't get the notification on Github, I just checked my mail and you had already answered me, I'm really sorry.
Sure, what more information can I provide you?

from save-restricted-bot.

bipinkrish avatar bipinkrish commented on August 12, 2024

Like what message you tried this on or this happened before any interaction?
Is it private or public?
Full related logs if you can.

from save-restricted-bot.

TruePhad avatar TruePhad commented on August 12, 2024

That is correct, the group is private and has this restriction of not being able to save messages. The type of link I have been sending is like this: https://t.me/c/1561578200/2243

The steps I did are as follows:

  • I entered, the ID, Token of the bot, etc on 'app.json', like this:
    "ID": {
    "description": "293...",
    "required": true
    },
    "HASH": {
    "description": "2d53eabf3a8...",
    "required": true
    },
    "TOKEN": {
    "description": "6229276....",
    "required": true
    },
  • Then I open main.py and I still change my ID, my token, my session, etc.
  • Then I started main.py
  • Then I went to my bot and sent the link: https://t.me/c/1561578200/2243
  • Nothing happens, but I go to the console where I started main.py and it appears:
    pyrogram.errors.exceptions.bad_request_400.MessageEmpty: Telegram says: [400 MESSAGE_EMPTY] - The message sent is empty or contains invalid characters (caused by "messages.SendMessage").

Maybe in the modifications of those files I did it wrong?

from save-restricted-bot.

bipinkrish avatar bipinkrish commented on August 12, 2024

You don't have to give out your private IDs and Tokens, i suggest to revoke your token at botfather.

Are you sure https://t.me/c/1561578200/2243 this message exists? It is not deleted? Because I didn't handled deleted messages.

If you are using private chats means you have to set string session also.

from save-restricted-bot.

TruePhad avatar TruePhad commented on August 12, 2024

Thank you very much, I will try and check everything, I will let you know if it worked.

from save-restricted-bot.

bipinkrish avatar bipinkrish commented on August 12, 2024

well...?

from save-restricted-bot.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.