Code Monkey home page Code Monkey logo

Comments (7)

sochix avatar sochix commented on July 18, 2024
  1. When you run an AuthUser you create a telegram session, that stored in session.dat file. After this file created you can run any other tests or call api funcitons, but the file session.dat should always be near executable, otherwise will be created new empty one. See Session.cs for details.
  2. Read about different DC here https://core.telegram.org/api/datacenter
  3. Check the method send messsage. "My test name" is default name, you can change it to what you want.

from tlsharp.

delphiassistant avatar delphiassistant commented on July 18, 2024

1- That's Correct. But when I open project while "session.dat" exists (it's size is 368 bytes) and run methods like CheckPhone without first running AuthUser test, it's execution never ends, when looking into debugger i see this message in debug logs:

  • Exception Exception thrown: 'System.OutOfMemoryException' in mscorlib.dll ("")*

from tlsharp.

sochix avatar sochix commented on July 18, 2024

It could be a bug, but do you specify numbers in App.config?

from tlsharp.

delphiassistant avatar delphiassistant commented on July 18, 2024

It could be a bug, but do you specify numbers in App.config?
Sure, I did.

from tlsharp.

starbug1 avatar starbug1 commented on July 18, 2024

Excuse me. what numbers we must specify in app.config? because i have just one simcard.

from tlsharp.

sochix avatar sochix commented on July 18, 2024

@starbug1 number of your contacts.

from tlsharp.

sochix avatar sochix commented on July 18, 2024

@delphiassistant don't know what happens with your session ;(

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.