uriyyo/instapi

How to make a group and send message ?

zNiGhTFuRyZNTT opened this issue · 3 comments

How to make a group and send message ?

Hi @zNiGhTFuRyZNTT,

It is not implemented. We are planning to add this feature to the upcoming release.

Yes that would be so great, I was so curious about what I saw in direct.py Class Direct.
I thought this code could create a group with a number of usernames but it didn't work

    @classmethod
    def create(cls: Type[ModelT_co], data: Any) -> ModelT_co:
        return super().create(  # type: ignore
            {
                **data,
                "users": tuple(map(User.create, data["users"])),
            }
        )

Yes that would be so great, I was so curious about what I saw in direct.py Class Direct.

This method is used to create an entity from a raw JSON data