Telegex.send_message
You're seeing just the function
send_message
, go back to Telegex module for more information.
Specs
send_message(integer() | String.t(), String.t(), parse_mode: String.t(), entities: [Telegex.Model.MessageEntity.t()], disable_web_page_preview: boolean(), disable_notification: boolean(), reply_to_message_id: integer(), allow_sending_without_reply: boolean(), reply_markup: Telegex.Model.InlineKeyboardMarkup.t() | Telegex.Model.ReplyKeyboardMarkup.t() | Telegex.Model.ReplyKeyboardRemove.t() | Telegex.Model.ForceReply.t() ) :: {:ok, Telegex.Model.Message.t()} | {:error, Telegex.Model.errors()}
Use this method to send text messages. On success, the sent Telegex.Model.Message
is returned.