Join GitHub today
GitHub is home to over 50 million developers working together to host and review code, manage projects, and build software together.
Sign upGitHub is where the world builds software
Millions of developers and companies build, ship, and maintain their software on GitHub — the largest and most advanced development platform in the world.
Don't exclude pinned messages in get_dialogs call #427
Conversation
|
It's often hard to make api design decisions because people will always find something that doesn't fit well for their purposes. Here, your change is limiting in case we want to only fetch dialogs that are not pinned. The raw API actually provides two distinct methods, |
|
I like the |
Currently, when you issue a
get_dialogscall with default parameters (precisely,pinned_only=False) — pinned messages are implicitly excluded. This PRamends that.