Code Monkey home page Code Monkey logo

Comments (18)

RocktaCR avatar RocktaCR commented on July 18, 2024

I solve it, theres any way to get new messages from any chat ??

from tlsharp.

dinhducit avatar dinhducit commented on July 18, 2024

can you run AuthUser(), I got exception at this function, can you solve it?

from tlsharp.

RocktaCR avatar RocktaCR commented on July 18, 2024

yeah, what is the exception you got ?? the same i put before ??

from tlsharp.

dinhducit avatar dinhducit commented on July 18, 2024

I get an exception: System.IO.EndOfStreamException: Unable to read beyond the end of the stream. :(

from tlsharp.

RocktaCR avatar RocktaCR commented on July 18, 2024

I didn't get that error, i don't know how to solve it. But https://github.com/sochix/TLSharp here says how to

from tlsharp.

dinhducit avatar dinhducit commented on July 18, 2024

so, can you send message as well?

from tlsharp.

ahmadi173 avatar ahmadi173 commented on July 18, 2024

my phone number is registered in telegram with android app. when im trying to makeauth it return following error :
PHONE_NUMBER_UNOCCUPIED
please help

from tlsharp.

RocktaCR avatar RocktaCR commented on July 18, 2024

Yeah, i can send a message as well, you're trying to implement this at your work or at home ??

from tlsharp.

RocktaCR avatar RocktaCR commented on July 18, 2024

I did not get that error before, when i have a chance i'll investigate for a while to see if i can help you .

from tlsharp.

ahmadi173 avatar ahmadi173 commented on July 18, 2024

im working at home, telegram sent code to my number successfully, but in makeauth method i got that error.
thank you for your attention, :-)

from tlsharp.

sochix avatar sochix commented on July 18, 2024

See telegram api reference here https://core.telegram.org/method/auth.signIn
tldr;
400 BAD_REQUEST PHONE_NUMBER_UNOCCUPIED The code is valid but no user with the given number is registered

from tlsharp.

ahmadi173 avatar ahmadi173 commented on July 18, 2024

my phone number is registered in telegram with android app.

from tlsharp.

sochix avatar sochix commented on July 18, 2024

Try another DC

from tlsharp.

ahmadi173 avatar ahmadi173 commented on July 18, 2024

what is "DC" ? . im sorry for my questions. and thank you so mush for this great source code. i learned many thing . thank you again,

from tlsharp.

sochix avatar sochix commented on July 18, 2024

Data center. See here https://github.com/sochix/TLSharp#i-get-an-error-migrate_x

from tlsharp.

ahmadi173 avatar ahmadi173 commented on July 18, 2024

hi.
in following method : OnResponse in class : AuthSendCodeRequest
in following lines :

var sendCodeTimeout = reader.ReadInt32();
var isPassword = reader.ReadUInt32() == boolTrue;

it return an exception with following content :
unable to read beyond the end of stream.
please help.

from tlsharp.

ahmadi173 avatar ahmadi173 commented on July 18, 2024

in register form in telegram api, i get Public keys, should i put it some where?

from tlsharp.

ahmadi173 avatar ahmadi173 commented on July 18, 2024

please help. im realy stucked on this

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.