Comments (10)
Salam StarBug.
Khoobi?
session.dat file is located in bin folder of TLSharp.Tests project.
The server address modification in TcpTransport.cs is the key. Current working address of telegram server with this api is 149.154.167.90 and 149.154.167.91 .
Other Servers return errors and exceptions.
from tlsharp.
salam delphiassistant.
mamnonam.
I found it after several hours of distraction. Thanks.
from tlsharp.
@delphiassistant good catch!
from tlsharp.
I can not pass and do not receive a message.What should I do?
@delphiassistant lotfan komak konid!
from tlsharp.
@starbug1 hi,how to pass test connection?! i go step by step,but failed
from tlsharp.
@mehdir92 : hi. what error do you receive? but for immediate answer you can see the image that i uploaded in issue. if you have session.dat file in project bin folder, first of all delete it and then you must run tests one by one.
from tlsharp.
@starbug1 tnx for answer.
soale asai inke daghighan bejaye value haye : numberToAuthenticate,registeredNumber,unregisteredNumber chi bayad bezarim?!
bara 2taye aval maghsad va akhari shomare khodamo dadam! va test ok shod.
at first my problem was passed test connection,but it and Authenticationwork is ok and pass.
now auttuser test failed. one moment ok and color changed green but again red.
http://s6.picofile.com/file/8221058934/01.PNG
Thank you
from tlsharp.
@mehdir92 : unregistered number is a number that is not registered in telegram and owner of this number does not use telegram at all. number to authenticate can be your own number. and registered number can be number of you father or mother or any other person's number that has telegram and owner of it has telegram account. about test you must first run TestConnection after that AuthenticationWorks and after that AuthUser. when you run AuthUser you must debug code and replace the code you get from telegram in runtime inside var variable. then continue running.
from tlsharp.
@starbug1 You're right , but I do not received any code.
What should I do??!
from tlsharp.
@mehdir92 : if you do the tasks in the right way, you must receive message. this code will send to your telegram account. check with telegram web or desktop.
from tlsharp.
Related Issues (20)
- Where does the library receive updates?
- How cloud I answer the inline button send by bot HOT 1
- how to get current user whene use Session
- How do I schedule a channel message to be sent (Add to Schedule List)?
- how to use TLRequestGetFullUser ? error {"USER_ID_INVALID"}
- How I can keep login after close my windows app? HOT 1
- System.InvalidOperationException: 'USER_BOT' HOT 1
- Search members in group by member's name
- How do I create a new Channel? HOT 4
- Getting an error when calling SearchUserAsync HOT 1
- How to read mesages from telegram to receive code login
- LIMIT_INVALID
- ession problem
- Session problem
- Push notifications example
- Read messages from user chat (not channel)
- Is this project being maintained? HOT 1
- How to Use TorSharp and TLsharp together
- How can I send a message to a Number that is NOT in my contacts? HOT 1
- How to edit the image of a group? 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 tlsharp.