Skip to content

Template Expression : typecasting #651

Closed
@arakov

Description

Is your feature request related to a problem? Please describe.
Template expression can be used for more intuitive typecasting

Describe the solution you'd like
Instead of current solution, which a bit complex / not intuive

cast ChatMember(client.Parameter)

a template is proposed (similar to C#)

client.Parameter :as ChatMember

Similar

client.Parameter :of ChatMember

is analogue to:

client.Parameter.instanceOf(ChatMember)

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions