Skip to content

inconsistant naming of chat_id or chat_ids in Filters.chat #2031

@ikkemaniac

Description

@ikkemaniac

The parameter to pass is chat_id but the attributes to use is chat_ids,

Kinda confusing, see https://t.me/pythontelegrambotgroup/350760

chat_ids(set(:obj:`int`), optional): Which chat ID(s) to allow through.

vs

chat_id(:obj:`int` | List[:obj:`int`], optional): Which chat ID(s) to allow

would be good to align those.

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