Coder Social home page Coder Social logo

Comments (10)

delphiassistant avatar delphiassistant commented on August 21, 2024

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.

starbug1 avatar starbug1 commented on August 21, 2024

salam delphiassistant.
mamnonam.
I found it after several hours of distraction. Thanks.

from tlsharp.

sochix avatar sochix commented on August 21, 2024

@delphiassistant good catch!

from tlsharp.

mehdir92 avatar mehdir92 commented on August 21, 2024

I can not pass and do not receive a message.What should I do?
@delphiassistant lotfan komak konid!

from tlsharp.

mehdir92 avatar mehdir92 commented on August 21, 2024

@starbug1 hi,how to pass test connection?! i go step by step,but failed

from tlsharp.

starbug1 avatar starbug1 commented on August 21, 2024

@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.

mehdir92 avatar mehdir92 commented on August 21, 2024

@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.

starbug1 avatar starbug1 commented on August 21, 2024

@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.

mehdir92 avatar mehdir92 commented on August 21, 2024

@starbug1 You're right , but I do not received any code.
What should I do??!

from tlsharp.

starbug1 avatar starbug1 commented on August 21, 2024

@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)

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.