core
core copied to clipboard
PHPDoc comment in MessageOriginChat mislead to wrong getter getChat().
Factory creates getter getSender_chat() because property name sender_chat in MessageOriginChat
| ? | ! |
|---|---|
| Type | bug |
| BC Break | yes / no |
| Fixed issues | New. |
Summary
Just simple quick fix because PHPDoc Comment was the same to MessageOriginChat and MessageOriginChannel but properties isn't
It should be getSenderChat(). The snake case field names get converted to PascalCase.
Could you adjust it accordingly, please?
Oh Sorry, my bad. Too much python for today. Pushed getSenderChat()