You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Feb 25, 2023. It is now read-only.
Enum class name should be generated from base class name and target field name capitalized: Chat + Type.
For MessageEntity.type field it should be MessageEntityType, so following the same rules.
More complex example
We have ChatMember and its subclasses that differ in status attribute
Example
We have
type
attribute inChat
classSo we should create an enum like this:
Enum class name should be generated from base class name and target field name capitalized:
Chat
+Type
.For
MessageEntity.type
field it should beMessageEntityType
, so following the same rules.More complex example
We have
ChatMember
and its subclasses that differ instatus
attributeSo we should create an enum like this:
Enum class name should be generated in the same way:
ChatMember
+Status
.The text was updated successfully, but these errors were encountered: