title: "A request to the Telegram API was unsuccessful. Error code: 400. Description: Bad Request: message is too long"
body: <p>I'm trying to retrieve messages from Reddit subreddits using <a href="https://github.com/praw-dev/praw" rel="nofollow noreferrer">PRAW</a>. It is working properly for most of the cases but I'm getting the following error that the message is too long.I'm using <a href="https://github.com/eternnoir/pyTelegramBotAPI" rel="nofollow noreferrer">pytelegrambotApi</a></p>
  <p>Snippet:</p>
  <pre><code>import praw
  import telebot
  
  bot = telebot.TeleBot(token)  
  
  reddit = praw.Reddit(
      client_id=client, #these details are given accordingly and are correct. No errors here.
      client_secret=secret,
      user_agent=&quot;user_agent&quot;,
  )
  
  def get_posts(sub):
     for submission in reddit.subreddit(sub).hot(limit=10):
      print(submission)
      if submission.author.is_mod:
        continue
      elif submission.selftext==&quot;&quot;:
        return submission.title,submission.url
      else:
        print(&quot;It's working&quot;)
        print(submission.url)
        return submission.title,submission.selftext 
  
  @bot.message_handler(func=lambda message: True)
  def echo_message(message):
      subreddit = message.text
      title,post = get_posts(subreddit)
      m = title + &quot;\n&quot; + post
      bot.reply_to(message,m)
  
  bot.infinity_polling()
  </code></pre>
  <p>Error:
  <a href="https://i.stack.imgur.com/SnFC6.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/SnFC6.png" alt="Error" /></a>
  Is there any workaround that I can do possibly do here to access the full message?</p>