fbchat-dev/fbchat

Sending a GIF from gfycat result in attachment to download

Open

#461 geöffnet am 10. Aug. 2019

Auf GitHub ansehen
 (1 Kommentar) (0 Reaktionen) (0 zugewiesene Personen)Python (406 Forks)github user discovery
bugenhancementhelp wanted

Repository-Metriken

Stars
 (1.210 Stars)
PR-Merge-Metriken
 (PR-Metriken ausstehend)

Beschreibung

Description of the problem

I'm trying to send a Gif from gfycat to a Group, it results in an attachement in the thread instead of a preview of it...

Code to reproduce

def send_image(image_path): client = Client(login, password) client.sendRemoteFiles([image_path], thread_id=thread_id, thread_type=ThreadType.GROUP)

Note that the same thing happen with sendLocalFiles (by appending .gif or not in the filename)

Environment information

  • Python version : 3.7.4
  • fbchat version : 1.7.3

If you have done any research, include that. Make sure to redact all personal information.

Contributor Guide