rockneurotiko/ex_gram

Problem with get_chat_members, get_chat_administrators, etc method.

prtngn opened this issue · 0 comments

prtngn commented

Hi @rockneurotiko. When I call the get_chat_members function, I get the following error:

** (UndefinedFunctionError) function ExGram.Model.ChatMember.__struct__/0 is undefined or private
    (ex_gram 0.34.0) ExGram.Model.ChatMember.__struct__()
    (elixir 1.14.4) lib/kernel.ex:2354: Kernel.struct/3
    (elixir 1.14.4) lib/enum.ex:1658: Enum."-map/2-lists^map/1-0-"/2
    (ex_gram 0.34.0) lib/ex_gram/macros/executer.ex:52: ExGram.Macros.Executer.execute_method/9

If I understand correctly, the issue is with the extractor?