Skip to content

[error 406/feat.] extend inviteInfo() or create communityInfo() #3023

@t0g3pii

Description

@t0g3pii

client.inviteInfo() returns 406 when using a Community Invite URL (Direct Community URL, not a Subgroup nor the Announce Group of it. Those are normaly working)

Would love to see something like this when using the url of a Community:
(if you have more ideas or other plans, just ping me in discord^^)

{
    "subject": "Community Title", // string
    "description": "Community Description", // string   
    "size": 5000, // 1-5000 (int)
    "groups": [
        // First Group is always Announce Group
        {
            "id": "[email protected]", // gid
            "title": "Same as subject here",
            "description": "Can have its own description",
            "size": 4000, // Can have its own size (1-5000)
            "participants": [
                // In First Group only Community Admins are Shown to public
                {
                    "id": "[email protected]"
                    // ...
                }
            ]
        },{
            "id": "[email protected]", // gid
            "title": "Own Title here",
            "description": "Can have its own description",
            "size": 4000, // Can have its own size (1-!500/512?!)
            "participants": [
                // In Other Groups all Users (or only saved contacts?) are Shown to Public
                {
                    "id": "[email protected]"
                    // ...
                }
            ]
        }
    ]
}

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions