In order to make our product more accessible and easier to use, we plan to build an internal chat tool based on Telegram APIs. There are two main reasons why we choose telegram. First is because the Telegram APIs are developer friendly, making it possible that we can develop our internal chat system. The pages and front-end features are customized and embedded in the current product according to our business needs, but its bottom layer is supported by Telegram. Second is due to the fact that telegram stores data rather than the PearDAO platform, so we still keep ourselves as a decentralized app.
We will use TDLib (Telegram Database library) to implement new features. There are several advantages of TDLib, including consistent, reliable, and secure. Consistent means that TDLib guarantees that all updates will be delivered in the right order. Reliable indicates TDLib remains stable on slow and unreliable Internet connections. Secure is shown as all local data is encrypted using a user-provided encryption key.
After the execution of the proposal, there will be some new features of our products. The first one is users have to bind the telegram account before creating ads and making orders(users can unbind the current telegram account and choose to bind another telegram account). Second one is we will have a chat page which is integrated with TDWeb api and able to transplant the chat of Telegram into our webpage.
The current chat tool is the telegram desktop version, which has many disadvantages like the buyer and the seller have to jump to another product to start the communication, and the experience is not coherent, resulting in bad user experience.
It is difficult to correspond with a telegram account with wallet address, order number, etc. For those who need to deal with a lot of communication work (such as merchants and CS), the workload is quite heavy.
So we need to find a more appropriate way to solve the communication problem. It is a good idea to build an encrypted chat tool by ourselves, but it will make us lose the advantages of decentralization.It's very dangerous to store chat data (especially for KYC data may be involved) in our own centralized server. If we do that, the chat tool would become the weakest point of our P2P product, and make us unable to resist regulatory scrutiny.