- Funktion zum "Löschen" einer Nachricht (editiert den Inhalt nur, wird aktualisiert, wenn Telegram so eine Funktion nachreicht)
- Upstream-Sync
This commit is contained in:
commit
6a5b079876
@ -79,6 +79,10 @@ function utilities.edit_message(chat_id, message_id, text, disable_web_page_prev
|
|||||||
)
|
)
|
||||||
end
|
end
|
||||||
|
|
||||||
|
function utilities.delete_message(chat_id, message_id)
|
||||||
|
return utilities.edit_message(chat_id, message_id, '<i>Gelöschte Nachricht</i>', true, 'HTML')
|
||||||
|
end
|
||||||
|
|
||||||
function utilities.send_reply(msg, text, use_markdown, reply_markup)
|
function utilities.send_reply(msg, text, use_markdown, reply_markup)
|
||||||
local parse_mode
|
local parse_mode
|
||||||
if type(use_markdown) == 'string' then
|
if type(use_markdown) == 'string' then
|
||||||
|
Reference in New Issue
Block a user