Giter Site home page Giter Site logo

loyldg / mytelegram Goto Github PK

View Code? Open in Web Editor NEW
71.0 6.0 28.0 6.88 MB

MyTelegram is Telegram server side api implementation written in c#

License: Apache License 2.0

C# 99.81% Dockerfile 0.12% Batchfile 0.01% PowerShell 0.02% Shell 0.04%
chat im-server mtproto mtproto-server mytelegram telegram telegram-server messenger custom-telegram private-telegram

mytelegram's Introduction

Hi there 👋

loyldg's github stats loyldg's github language stats

mytelegram's People

Contributors

dependabot[bot] avatar loyldg avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar

mytelegram's Issues

Building with MacOS

Hello. Did you try to build it with MacOS .NET SDK implementation?

I got this error and maybe I need some help as I am new to .NET SDK:

/usr/local/share/dotnet/sdk/7.0.100/Sdks/Microsoft.NET.ILLink.Tasks/build/Microsoft.NET.ILLink.targets(196,5): error NETSDK1102: Optimizing assemblies for size is not supported for the selected publish configuration. Please ensure that you are publishing a self-contained app. [MyTelegram.MessengerServer.Abp/MyTelegram.MessengerServer.Abp.csproj]

Secret chats and authKeyId 00 error

Hi,

I'm trying to make a server work locally for research purposes. I'd like to know if this server implements secret chats or not.

Moreover, every time my client connects it gets a remove disconnected session failed,can not find authKeyId 00 error, and I cannot find references in the code to pinpoint the root cause.

Your help would be very appreciated, thanks!

可以完善下客户端webK的文档吗

你好,非常感谢开源这个项目。我现在在编译web k的相关代码,目前文档中只标注了在哪个文件进行修改,但没有像webz那样具体到行。可以麻烦完善下这里吗谢谢。

另外,webz我是按照文档编译的,官方貌似只有npm run dev这一种启动方式,如果我想把项目放在生产环境到nginx怎么实现呢?谢谢!

Some Bugs

image
The saved message cannot be opened
When creating a contact, it says that the phone is not registered

Comments in channel in are not working properly.

When a user comments on a post in a channel, the system displays the number of comments made on that particular post. However, when the user presses the back button and reopens the channel post, they are unable to see all the comments on the post. Sometimes, users may only see one or two recent comments, but not all of them.

连接服务失败,控制台有报错

nodejs版本:v16.17.0
npm版本:8.15.0
运行命令:npm run dev
环境:centos 7

报错信息:

[2022-09-15T14:18:44.574Z] [ERROR] - [WebSocket connection failed attempt: 3]
MTProtoSender.js:194 TypeError: Cannot read properties of undefined (reading 'digest')
at Hash.digest (crypto.js:104:57)
at Object.sha256 (Helpers.js:215:19)
at doAuthentication (Authenticator.ts:80:52)
at async MTProtoSender._connect (MTProtoSender.js:278:25)
at async MTProtoSender.connect (MTProtoSender.js:183:17)
at async TelegramClient.connect (TelegramClient.js:198:31)
at async TelegramClient.start (TelegramClient.js:888:13)
at async init (client.ts:96:7)
at async initApi (provider.ts:42:3)
at async onmessage (worker.ts:23:7)

每次连接ws服务后都会报这个错(连接已经建立,好像是在握手时出了问题)。这个是因为nodejs的版本导致的吗?还请大神帮忙看下,谢谢!

No Sms - Android Client

Hello, The server goes online but cant receive sms for verify with the configured android client

Unable to connect to the server

The client is loading forever at this step:

1713145087134

the latest logs are:

messenger-command-server-1 | [2024-04-15T01:37:50.8021407+00:00 [INF] Get new low value from db,idType=MessageId key=2000023 newHighValue=1
messenger-command-server-1 | [2024-04-15T01:37:50.8227778+00:00 [INF] Get new low value from db,idType=Pts key=2000023 newHighValue=1
messenger-command-server-1 | [2024-04-15T01:37:50.8828459+00:00 [INF] Get new low value from db,idType=MessageId key=2000024 newHighValue=1
messenger-query-server-1 | [2024-04-15T01:37:50.8931304+00:00 [INF] User created,userId=2000024,phoneNumber="124",firstName="24",lastName="24"
messenger-command-server-1 | [2024-04-15T01:37:50.9063760+00:00 [INF] Get new low value from db,idType=Pts key=2000024 newHighValue=1
messenger-command-server-1 | [2024-04-15T01:37:50.9645448+00:00 [INF] Get new low value from db,idType=MessageId key=2000025 newHighValue=1
messenger-command-server-1 | [2024-04-15T01:37:50.9841849+00:00 [INF] Get new low value from db,idType=Pts key=2000025 newHighValue=1
messenger-query-server-1 | [2024-04-15T01:37:50.9899506+00:00 [INF] User created,userId=2000025,phoneNumber="125",firstName="25",lastName="25"
messenger-query-server-1 | [2024-04-15T01:37:51.0269601+00:00 [INF] User created,userId=2000026,phoneNumber="126",firstName="26",lastName="26"
messenger-command-server-1 | [2024-04-15T01:37:51.0449946+00:00 [INF] Get new low value from db,idType=MessageId key=2000026 newHighValue=1
messenger-command-server-1 | [2024-04-15T01:37:51.0659777+00:00 [INF] Get new low value from db,idType=Pts key=2000026 newHighValue=1
messenger-query-server-1 | [2024-04-15T01:37:51.1137344+00:00 [INF] User created,userId=2000027,phoneNumber="127",firstName="27",lastName="27"
messenger-command-server-1 | [2024-04-15T01:37:51.1314562+00:00 [INF] Get new low value from db,idType=MessageId key=2000027 newHighValue=1
messenger-command-server-1 | [2024-04-15T01:37:51.1518128+00:00 [INF] Get new low value from db,idType=Pts key=2000027 newHighValue=1
messenger-query-server-1 | [2024-04-15T01:37:51.1939546+00:00 [INF] User created,userId=2000028,phoneNumber="128",firstName="28",lastName="28"
messenger-command-server-1 | [2024-04-15T01:37:51.2103332+00:00 [INF] Get new low value from db,idType=MessageId key=2000028 newHighValue=1
messenger-command-server-1 | [2024-04-15T01:37:51.2303727+00:00 [INF] Get new low value from db,idType=Pts key=2000028 newHighValue=1
messenger-command-server-1 | [2024-04-15T01:37:51.2888744+00:00 [INF] Get new low value from db,idType=MessageId key=2000029 newHighValue=1
messenger-query-server-1 | [2024-04-15T01:37:51.2952397+00:00 [INF] User created,userId=2000029,phoneNumber="129",firstName="29",lastName="29"
messenger-command-server-1 | [2024-04-15T01:37:51.3099714+00:00 [INF] Get new low value from db,idType=Pts key=2000029 newHighValue=1
messenger-command-server-1 | [2024-04-15T01:37:51.3334716+00:00 [INF] Messenger service init ok
gateway-server-1 | [2024-04-15T01:39:21.1650512+00:00 [INF] [ConnectionId="0HN2STJFO42HO"] New client connected,RemoteEndPoint:"172.18.0.1:43364",online count:0
gateway-server-1 | [2024-04-15T01:39:21.1653631+00:00 [INF] [Abridge] Protocol detected

The latest server and client from the github.

Please help. Thanks

Cannot SignUp

I've downloaded last sources, built it, and I cannot register a new account.
image

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.