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

SharedUser is loss #732

Closed
cppg opened this issue Aug 19, 2024 · 0 comments
Closed

SharedUser is loss #732

cppg opened this issue Aug 19, 2024 · 0 comments

Comments

@cppg
Copy link

cppg commented Aug 19, 2024

UsersShared

users | Array of SharedUser | Information about users shared with the bot.

but

type RecipientShared struct {
ID int32 json:"request_id"
UserID int64 json:"user_id"
ChatID int64 json:"chat_id"
}

may be

type RecipientShared struct {
ID int32 json:"request_id"
UserIDs []*SharedUser json:"users"
ChatID int64 json:"chat_id"
}
type SharedUser struct {
user_id
first_name
last_name
username
photo
}

@cppg cppg closed this as completed Aug 19, 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

1 participant