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