Bot API method

sendMessage

16 parameters. Required ones are marked.

Parameters

ParameterTypeRequired
business_connection_idStringno
chat_idInteger or Stringyes
message_thread_idIntegerno
direct_messages_topic_idIntegerno
ephemeral_message_parametersEphemeralMessageParametersno
textStringyes
parse_modeStringno
entitiesArray of MessageEntityno
link_preview_optionsLinkPreviewOptionsno
disable_notificationBooleanno
protect_contentBooleanno
allow_paid_broadcastBooleanno
message_effect_idStringno
suggested_post_parametersSuggestedPostParametersno
reply_parametersReplyParametersno
reply_markupInlineKeyboardMarkup or ReplyKeyboardMarkup or ReplyKeyboardRemove or ForceReplyno

Related methods

Computed from shared parameters — the source has no such view.

The method description lives with Telegram: source · full reference