Skip to content

[Feature]: Add raw requestContact string #715

@grotor1

Description

@grotor1

I want to validate requestContact data separately. Vanilla telegram sdk gives not only object but string same as in initData.raw, and when i validating it on backend hashes are same.

I tried to manually concat string from this sdk contact object but keys order in contact object is different from original in vanilla sdk.

  1. Contact object from this sdk
Image 2. Manually concated string Image 3. Response from vanilla sdk Image

Describe the solution you'd like

Either preserve keys order so i can concat it manually, or keep original raw string in result object

Describe alternatives you've considered

No response

Additional context

No response

Metadata

Metadata

Assignees

Labels

enhancementNew feature or request

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions