Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Deserialize of Contant entity cause Exception if Telegram user has no last name #5

Closed
dkirillov-radio opened this issue Sep 23, 2024 · 1 comment

Comments

@dkirillov-radio
Copy link

Now:
`
/**

  • Optional. Contact's last name
    */
    public string $lastName,
    `

Must be:
`
/**

  • Optional. Contact's last name
    */
    public string|null $lastName = null,
    `

public string $lastName,

@luzrain
Copy link
Owner

luzrain commented Sep 29, 2024

Thank you for reporting this bug. It has been fixed in the latest release

@luzrain luzrain closed this as completed Sep 29, 2024
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

No branches or pull requests

2 participants