Client.sendTextMessage¶
Send text message to chat
Client.sendTextMessage(
chat_id: int,
text: str,
entities: list of TextEntity | None = None,
parse_mode: str = None,
disable_web_page_preview: bool = False,
url: str = None,
force_small_media: bool = None,
force_large_media: bool = None,
show_above_text: bool = None,
clear_draft: bool = False,
disable_notification: bool = False,
protect_content: bool = False,
allow_paid_broadcast: bool = False,
topic_id: MessageTopic = None,
quote: InputTextQuote = None,
reply_to: InputMessageReplyTo = None,
reply_to_message_id: int = 0,
receiver_user_id: int = 0,
callback_query_id: int = 0,
reply_markup: ReplyMarkupInlineKeyboard | ReplyMarkupShowKeyboard | ReplyMarkupForceReply | ReplyMarkupRemoveKeyboard = None
) → Error | Message
Source: pytdbot/methods/methods.py