gif als Datei senden
This commit is contained in:
parent
79828a477a
commit
76b931fb64
@ -31,7 +31,11 @@ local function run(msg, matches)
|
|||||||
receiver=receiver,
|
receiver=receiver,
|
||||||
url=url
|
url=url
|
||||||
}
|
}
|
||||||
|
if string.ends(url, ".gif") then
|
||||||
|
send_document_from_url(receiver, url)
|
||||||
|
else
|
||||||
send_msg(receiver, id, send_photo_from_url_callback, cb_extra)
|
send_msg(receiver, id, send_photo_from_url_callback, cb_extra)
|
||||||
|
end
|
||||||
end
|
end
|
||||||
|
|
||||||
return {
|
return {
|
||||||
|
Reference in New Issue
Block a user