<td>Only for bots, disallows forwarding and saving of the messages, even if the destination chat doesn't have <a href="https://telegram.org/blog/protected-content-delete-by-date-and-more">content protection</a> enabled</td>
<td>Please enable bot payments in botfather before calling this method.</td>
</tr>
<tr>
<td>400</td>
<td>BROADCAST_PUBLIC_VOTERS_FORBIDDEN</td>
<td>You can't forward polls with public voters.</td>
</tr>
<tr>
<td>400</td>
<td>BUTTON_DATA_INVALID</td>
<td>The data of one or more of the buttons you provided is invalid.</td>
</tr>
<tr>
<td>400</td>
<td>BUTTON_TYPE_INVALID</td>
<td>The type of one or more of the buttons you provided is invalid.</td>
</tr>
<tr>
<td>400</td>
<td>BUTTON_URL_INVALID</td>
<td>Button URL invalid.</td>
</tr>
<tr>
<td>400</td>
<td>CHANNEL_INVALID</td>
<td>The provided channel is invalid.</td>
</tr>
<tr>
<td>400</td>
<td>CHANNEL_PRIVATE</td>
<td>You haven't joined this channel/supergroup.</td>
</tr>
<tr>
<td>400</td>
<td>CHAT_ADMIN_REQUIRED</td>
<td>You must be an admin in this chat to do this.</td>
</tr>
<tr>
<td>400</td>
<td>CHAT_FORWARDS_RESTRICTED</td>
<td>You can't forward messages from a protected chat.</td>
</tr>
<tr>
<td>400</td>
<td>CHAT_RESTRICTED</td>
<td>You can't send messages in this chat, you were restricted.</td>
</tr>
<tr>
<td>403</td>
<td>CHAT_SEND_GIFS_FORBIDDEN</td>
<td>You can't send gifs in this chat.</td>
</tr>
<tr>
<td>403</td>
<td>CHAT_SEND_MEDIA_FORBIDDEN</td>
<td>You can't send media in this chat.</td>
</tr>
<tr>
<td>403</td>
<td>CHAT_SEND_POLL_FORBIDDEN</td>
<td>You can't send polls in this chat.</td>
</tr>
<tr>
<td>403</td>
<td>CHAT_SEND_STICKERS_FORBIDDEN</td>
<td>You can't send stickers in this chat.</td>
</tr>
<tr>
<td>403</td>
<td>CHAT_WRITE_FORBIDDEN</td>
<td>You can't write in this chat.</td>
</tr>
<tr>
<td>400</td>
<td>CURRENCY_TOTAL_AMOUNT_INVALID</td>
<td>The total amount of all prices is invalid.</td>
</tr>
<tr>
<td>400</td>
<td>EMOTICON_INVALID</td>
<td>The specified emoji is invalid.</td>
</tr>
<tr>
<td>400</td>
<td>EXTERNAL_URL_INVALID</td>
<td>External URL invalid.</td>
</tr>
<tr>
<td>400</td>
<td>FILE_PARTS_INVALID</td>
<td>The number of file parts is invalid.</td>
</tr>
<tr>
<td>400</td>
<td>FILE_PART_LENGTH_INVALID</td>
<td>The length of a file part is invalid.</td>
</tr>
<tr>
<td>400</td>
<td>FILE_REFERENCE_EMPTY</td>
<td>An empty <a href="/api/file_reference">file reference</a> was specified.</td>
</tr>
<tr>
<td>400</td>
<td>FILE_REFERENCE_EXPIRED</td>
<td>File reference expired, it must be refetched as described in <a href="/api/file_reference">the documentation</a>.</td>
</tr>
<tr>
<td>400</td>
<td>GAME_BOT_INVALID</td>
<td>Bots can't send another bot's game.</td>
</tr>
<tr>
<td>400</td>
<td>IMAGE_PROCESS_FAILED</td>
<td>Failure while processing image.</td>
</tr>
<tr>
<td>400</td>
<td>INPUT_USER_DEACTIVATED</td>
<td>The specified user was deleted.</td>
</tr>
<tr>
<td>400</td>
<td>MD5_CHECKSUM_INVALID</td>
<td>The MD5 checksums do not match.</td>
</tr>
<tr>
<td>400</td>
<td>MEDIA_CAPTION_TOO_LONG</td>
<td>The caption is too long.</td>
</tr>
<tr>
<td>400</td>
<td>MEDIA_EMPTY</td>
<td>The provided media object is invalid.</td>
</tr>
<tr>
<td>400</td>
<td>MEDIA_INVALID</td>
<td>Media invalid.</td>
</tr>
<tr>
<td>400</td>
<td>MSG_ID_INVALID</td>
<td>Invalid message ID provided.</td>
</tr>
<tr>
<td>400</td>
<td>PAYMENT_PROVIDER_INVALID</td>
<td>The specified payment provider is invalid.</td>
</tr>
<tr>
<td>400</td>
<td>PEER_ID_INVALID</td>
<td>The provided peer id is invalid.</td>
</tr>
<tr>
<td>400</td>
<td>PHOTO_EXT_INVALID</td>
<td>The extension of the photo is invalid.</td>
</tr>
<tr>
<td>400</td>
<td>PHOTO_INVALID_DIMENSIONS</td>
<td>The photo dimensions are invalid.</td>
</tr>
<tr>
<td>400</td>
<td>PHOTO_SAVE_FILE_INVALID</td>
<td>Internal issues, try again later.</td>
</tr>
<tr>
<td>400</td>
<td>POLL_ANSWERS_INVALID</td>
<td>Invalid poll answers were provided.</td>
</tr>
<tr>
<td>400</td>
<td>POLL_ANSWER_INVALID</td>
<td>One of the poll answers is not acceptable.</td>
</tr>
<tr>
<td>400</td>
<td>POLL_OPTION_DUPLICATE</td>
<td>Duplicate poll options provided.</td>
</tr>
<tr>
<td>400</td>
<td>POLL_OPTION_INVALID</td>
<td>Invalid poll option provided.</td>
</tr>
<tr>
<td>400</td>
<td>POLL_QUESTION_INVALID</td>
<td>One of the poll questions is not acceptable.</td>
</tr>
<tr>
<td>400</td>
<td>QUIZ_CORRECT_ANSWERS_EMPTY</td>
<td>No correct quiz answer was specified.</td>
</tr>
<tr>
<td>400</td>
<td>QUIZ_CORRECT_ANSWERS_TOO_MUCH</td>
<td>You specified too many correct answers in a quiz, quizzes can only have one right answer!</td>
</tr>
<tr>
<td>400</td>
<td>QUIZ_CORRECT_ANSWER_INVALID</td>
<td>An invalid value was provided to the correct_answers field.</td>
</tr>
<tr>
<td>400</td>
<td>QUIZ_MULTIPLE_INVALID</td>
<td>Quizzes can't have the multiple_choice flag set!</td>
</tr>
<tr>
<td>500</td>
<td>RANDOM_ID_DUPLICATE</td>
<td>You provided a random ID that was already used.</td>
</tr>
<tr>
<td>400</td>
<td>REPLY_MARKUP_BUY_EMPTY</td>
<td>Reply markup for buy button empty.</td>
</tr>
<tr>
<td>400</td>
<td>REPLY_MARKUP_INVALID</td>
<td>The provided reply markup is invalid.</td>
</tr>
<tr>
<td>400</td>
<td>SCHEDULE_BOT_NOT_ALLOWED</td>
<td>Bots cannot schedule messages.</td>
</tr>
<tr>
<td>400</td>
<td>SCHEDULE_DATE_TOO_LATE</td>
<td>You can't schedule a message this far in the future.</td>
</tr>
<tr>
<td>400</td>
<td>SCHEDULE_TOO_MUCH</td>
<td>There are too many scheduled messages.</td>
</tr>
<tr>
<td>400</td>
<td>SEND_AS_PEER_INVALID</td>
<td>You can't send messages as the specified peer.</td>
</tr>
<tr>
<td>420</td>
<td>SLOWMODE_WAIT_%d</td>
<td>Slowmode is enabled in this chat: wait %d seconds before sending another message to this chat.</td>
</tr>
<tr>
<td>400</td>
<td>TTL_MEDIA_INVALID</td>
<td>Invalid media Time To Live was provided.</td>
</tr>
<tr>
<td>400</td>
<td>USER_BANNED_IN_CHANNEL</td>
<td>You're banned from sending messages in supergroups/channels.</td>
</tr>
<tr>
<td>403</td>
<td>USER_IS_BLOCKED</td>
<td>You were blocked by this user.</td>
</tr>
<tr>
<td>400</td>
<td>USER_IS_BOT</td>
<td>Bots can't send messages to other bots.</td>
</tr>
<tr>
<td>400</td>
<td>VIDEO_CONTENT_TYPE_INVALID</td>
<td>The video's content type is invalid.</td>
</tr>
<tr>
<td>400</td>
<td>WEBPAGE_CURL_FAILED</td>
<td>Failure while fetching the webpage with cURL.</td>
</tr>
<tr>
<td>400</td>
<td>WEBPAGE_MEDIA_EMPTY</td>
<td>Webpage media empty.</td>
</tr>
<tr>
<td>400</td>
<td>YOU_BLOCKED_USER</td>
<td>You blocked this user.</td>
</tr>
</tbody>
</table>
<h3><a class="anchor" href="#bots-can-use-this-method" id="bots-can-use-this-method" name="bots-can-use-this-method"><i class="anchor-icon"></i></a>Bots can use this method</h3>