Skip to content

Update pin_chat_message method's return type#196

Merged
KurimuzonAkuma merged 2 commits into
KurimuzonAkuma:devfrom
SIR-X:patch-5
Jul 18, 2025
Merged

Update pin_chat_message method's return type#196
KurimuzonAkuma merged 2 commits into
KurimuzonAkuma:devfrom
SIR-X:patch-5

Conversation

@SIR-X

@SIR-X SIR-X commented Jul 16, 2025

Copy link
Copy Markdown
Contributor

The messages.UpdatePinnedMessage doesn't always return the pinned message. As it's mentioned in the return line:

https://github.com/KurimuzonAkuma/pyrogram/blob/97a1a69c85e080e9a49281cb5b8b5c22a772d5c1/pyrogram/methods/chats/pin_chat_message.py#L77

@KurimuzonAkuma
KurimuzonAkuma merged commit e0ddd84 into KurimuzonAkuma:dev Jul 18, 2025
12 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants