Comments (3)
What are you trying to achieve exactly?
You're not supposed to call manager.CollectUsersChats
from wtelegramclient.
What are you trying to achieve exactly?
You're not supposed to call manager.CollectUsersChats
Basically, my app listen to incoming Telegram updates and I want to get the sender and chat information from the update then enqueue it to be processed by queue consumers.
If using manager.CollectUsersChats
is not the right way, what would you suggest?
thank you sir
from wtelegramclient.
Use Manager.UserOrChat
or Manager.Users
/Chats
dictionaries to resolve peers & ids into details
or call structure.CollectUsersChats(Manager.Users, Manager.Chats);
after an API call that return a structure which contains users/chats
As demonstrated in https://github.com/wiz0u/WTelegramClient/blob/master/Examples/Program_ListenUpdates.cs
See also these explanations:
- https://wiz0u.github.io/WTelegramClient/EXAMPLES#collect-access-hash
- https://wiz0u.github.io/WTelegramClient/EXAMPLES#message-user
from wtelegramclient.
Related Issues (20)
- Issue using Stream for saving session HOT 5
- Some properties are only private HOT 1
- Object of type 'TL.PeerChannel' cannot be converted to type 'TL.MessageFwdHeader'. HOT 3
- I always get updateDeleteMessages. HOT 2
- An exception occured in the reactor: WTelegram.WTException: Cannot find type for ctor #whatever after upgrading to v4.x HOT 7
- contacts.getLocated HOT 1
- how to get data for miniapp? HOT 1
- voip support HOT 1
- fetching big files sent to bot & download them HOT 1
- How to retrieve a list of join requests for a chat? HOT 1
- speeding up downloading media HOT 6
- Client reconnection problem HOT 3
- Getting channel message replies HOT 1
- Is there a way to convert contents of TData into .session of WTelegramClient? HOT 1
- Example on how to use IPeerCollector HOT 3
- How do I get a group id through a group link๏ผ HOT 1
- In the AnalyzeInviteLink method is an error: A task was canceled. HOT 1
- TL.RpcException: 400 USER_ID_INVALID HOT 3
- How to abort a file transfer in the middle? HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. ๐๐๐
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google โค๏ธ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from wtelegramclient.