title: How using LINE chat bot "reply_message function" to reply multi-messages to user
body: <p>I'm trying to use <strong>reply_message</strong> function to send back multi-messages to user, but I got some trouble in there.</p>
  
  <p>In the official SDK document we know how to using the reply_message function example is:</p>
  
  <pre><code>line_bot_api.reply_message(event.reply_token, TextSendMessage(text = "123"))
  </code></pre>
  
  <p>And then the Line bot will show the message "123" if user send something messages.</p>
  
  <p>But in the official github it said that "reply_message" function can send 
  5 messages at same time.</p>
  
  <p>official github Screenshot</p>
  
  <p><img src="https://i.stack.imgur.com/hBej0.png" alt=""></p>
  
  <p><a href="https://github.com/line/line-bot-sdk-python/blob/master/linebot/api.py" rel="nofollow noreferrer">official github link</a></p>
  
  <p>Also, the document said that the request body should send back two parameters:
  replyToken and messages (please see the screenshot)
  <a href="https://developers.line.me/en/reference/messaging-api/#send-reply-message" rel="nofollow noreferrer">offical reply_message SDK document link</a></p>
  
  <p><a href="https://i.stack.imgur.com/fxK4f.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/fxK4f.png" alt="the SDK document of reply message function screenshot"></a></p>
  
  <p>It said put <strong>the array of message object</strong> into message parameter.
  And the array of message object is look like:
  <a href="https://developers.line.me/en/reference/messaging-api/#message-objects" rel="nofollow noreferrer">the SDK document of message object example link</a></p>
  
  <p><a href="https://i.stack.imgur.com/4dOo9.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/4dOo9.png" alt="the SDK document of message object screenshot"></a></p>
  
  <p>Another way I found that someone using PHP to implement by using this function.</p>
  
  <p><a href="https://github.com/line/line-bot-sdk-php/issues/28" rel="nofollow noreferrer">PHP implement method example</a></p>
  
  <p>But I still can't find the solution how to send multi messages in the reply_message function by using Python..</p>
  
  <p>I tried to code in Python is: </p>
  
  <pre><code>line_bot_api.reply_message({'reply_token' : event.reply_token, 'messages' : [{'type' : 'text', 'text' : '123'}]})
  </code></pre>
  
  <p>The error message is:</p>
  
  <p><strong>TypeError: reply_message() missing 1 required positional argument: 'messages'</strong></p>
  
  <p>error message log</p>
  
  <p><img src="https://i.stack.imgur.com/aaP9Y.png" alt=""></p>
  
  <p>I tried another way to put parameters, but still can't work</p>
  
  <pre><code>line_bot_api.reply_message(reply_token = event.reply_token, messages = [{'type' : 'text', 'text' : '123'}])
  </code></pre>
  
  <p>the error message is:</p>
  
  <pre><code>AttributeError: 'dict' object has no attribute 'as_json_dict'
  </code></pre>
  
  <p>How can this be done in Python?</p>