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
When I receive a greeting from a new user, most of them can get the user structure by: Users.TryGetValue(peerUser.user_id, out var user),
but some new users cannot get the user structure, I try use
var inputPeer = new InputUserFromMessage
{
user_id = unm.message.Peer.ID,
peer = new InputPeerUser(unm.message.Peer.ID, user.access_hash),
msg_id = unm.message.ID
};
But since I can't get the user structure, I can't get user's access_hash, I try use 0 repalce, but can not send message to this user by await _client.SendMessageAsync(inputPeer.peer, "hello").
How should I respond to users like this?
I can't add them to my contacts with _client.Contacts_AddContact(...) too, but I can add them with a manual click on the telegram client.
The text was updated successfully, but these errors were encountered:
Please note that Github issues should be used only for problems with the library code itself.
For questions about Telegram API usage, you can search the API official documentation and the full list of methods.
WTelegramClient covers 100% of the API and let you do anything you can do in an official client.
When I receive a greeting from a new user, most of them can get the user structure by: Users.TryGetValue(peerUser.user_id, out var user),
but some new users cannot get the user structure, I try use
But since I can't get the user structure, I can't get user's access_hash, I try use 0 repalce, but can not send message to this user by await _client.SendMessageAsync(inputPeer.peer, "hello").
How should I respond to users like this?
I can't add them to my contacts with _client.Contacts_AddContact(...) too, but I can add them with a manual click on the telegram client.
The text was updated successfully, but these errors were encountered: