Bot API metodi

sendMessage

16 ta parametr. Majburiylari belgilangan.

Parametrlar

ParametrTuriMajburiy
business_connection_idStringyoʻq
chat_idInteger or Stringha
message_thread_idIntegeryoʻq
direct_messages_topic_idIntegeryoʻq
ephemeral_message_parametersEphemeralMessageParametersyoʻq
textStringha
parse_modeStringyoʻq
entitiesArray of MessageEntityyoʻq
link_preview_optionsLinkPreviewOptionsyoʻq
disable_notificationBooleanyoʻq
protect_contentBooleanyoʻq
allow_paid_broadcastBooleanyoʻq
message_effect_idStringyoʻq
suggested_post_parametersSuggestedPostParametersyoʻq
reply_parametersReplyParametersyoʻq
reply_markupInlineKeyboardMarkup or ReplyKeyboardMarkup or ReplyKeyboardRemove or ForceReplyyoʻq

Aloqador metodlar

Umumiy parametrlar boʻyicha hisoblangan — manbada bunday koʻrinish yoʻq.

Metod tavsifi Telegramda: birlamchi manba · toʻliq maʼlumotnoma