Where communities thrive


  • Join over 1.5M+ people
  • Join over 100K+ communities
  • Free without limits
  • Create your own community
People
Activity
  • Jan 30 2019 13:19
    AntonMznv starred sochix/TLSharp
  • Jan 29 2019 15:13
    denriped starred sochix/TLSharp
  • Jan 29 2019 10:40
    ACrYoZ closed #810
  • Jan 29 2019 08:49
    ArmeF97 commented #838
  • Jan 29 2019 08:48
    ArmeF97 commented #838
  • Jan 29 2019 07:53
    knocte commented #838
  • Jan 29 2019 07:46
    maurodx commented #838
  • Jan 28 2019 21:38
    ArmeF97 synchronize #838
  • Jan 28 2019 21:35
    ArmeF97 synchronize #838
  • Jan 28 2019 21:17
    ArmeF97 synchronize #838
  • Jan 28 2019 19:37
    ArmeF97 synchronize #838
  • Jan 28 2019 17:10
    ArmeF97 commented #719
  • Jan 28 2019 16:40
    knocte commented #719
  • Jan 28 2019 16:32
    ArmeF97 commented #838
  • Jan 28 2019 16:30
    ArmeF97 opened #838
  • Jan 28 2019 16:23
  • Jan 28 2019 13:56
    raso03031983 commented #753
  • Jan 28 2019 13:38
    raso03031983 commented #585
  • Jan 28 2019 12:45
    raso03031983 commented #386
  • Jan 26 2019 20:31
    MoienTajik starred sochix/TLSharp
aminsato
@aminsato
HI guys how can i see profile of users with id?? any guide if it's little
Davood Mirzabagheria
@davoodinthebox_twitter
asd
asd
Andres G. Aragoneses
@knocte
?
idb-
@idb-
hello everyone. i a wondering if someone can help me with an issue im having; anytime i try to login to tg using tlsharp from a persisted session (.dat) the session.User instance is always null. am i to believe that every single time i want to reconnect to the account i just registered that i will need to do a full login with sms code verification? that seems like it cant be the case, but i cannot figure out what im doing wrong.
opipouj8uy8
@opipouj8uy8
image.png
1 reply
How can I fix this problem?
Alberto Gonzalez
@agonzalezm
anyone have same working code on how to subscribe to get all new messages in a channel in realtime?
Compo Team
@CompoTeam
hi there
can somebody please give me a sample for joining a channel by id?
i could not find anything working on internet
Compo Team
@CompoTeam
        TLRequestImportChatInvite RCHI = new TLRequestImportChatInvite();
        RCHI.hash = "acupofhotcode"; //its channel username
        TLUpdates chat = await Client.SendRequestAsync<TLUpdates>(RCHI);

im using this code right now but i get

INVITE_HASH_EXPIRED

ERROR
any solution?
tnx

Compo Team
@CompoTeam
EDIT:actually this work for private groups and channels but for public ones error remains.
Compo Team
@CompoTeam
is this group dead? or project is cnacelled?
Compo Team
@CompoTeam
.

can somebody please give me a sample for joining a channel by id?

after days no help? :/

Compo Team
@CompoTeam
how to join a private channel ?

how to join a private channel ?

by invite link

is this possible?
@knocte can u help me?
Andrew Smirnow
@mrgumorist
Hi there!
How I can use my session.dat?
Nicola Leone Ciardi
@Nik300
hey guys hello!
so i have a major problem here
after some time that i load the tlsharp client, it just disconnects from the server saying "connection reset by peer."
what should i do?
Nicola Leone Ciardi
@Nik300
nvm discussing about this on telegram
Ck19992
@ck19992_twitter
hey, guy? may i know how to send bold or italic message from tlsharp?
vanhung3693
@vanhung3693
hi thể
hi there
How can I add contacts with userid ?
help me
Levr
@Levr16_twitter
"System.IO.InvalidDataException: Constructor Invalid Or Context.Init Not Called !
---> System.Collections.Generic.KeyNotFoundException: The given key '773059779' was not present in the dictionary.
at System.Collections.Generic.Dictionary`2.get_Item(TKey key)
at TeleSharp.TL.TLContext.getType(Int32 Constructor) in E:\TELEGA\Another\TLSharp-master\TeleSharp.TL\TLContext.cs:line 29" - So what it means ? Only pay support can helpme ?!
Andres G. Aragoneses
@knocte
Levr16_twitter: try TgSharp?
jianwei923
@jianwei923
Error:Unable to write data to the transport connection: The remote host forced closure of an existing connection
jianwei923
@jianwei923
Please help me
jianwei923
@jianwei923
Why is there no one? Have you given up?
The Cryptonian™
@iamswd_twitter
Hello Guys, Anyone here who is good in TLSharp?
crocodile305
@crocodile305
Hello everyone,I would like to get chat history in TLSharp.
please help me.
andrybany
@andrybany
hello is anyone t
there
Mich-ele
@Mich-ele
hi
Shayestefar
@Shayestefar
hi everyone, I would like to save session file in json file ,
please help me.
thanks.
jorge-herrero
@jorge-herrero
using TLSharp;
public class JsonSessionStore : ISessionStore
{
    public void Save(Session session)
    {

        Byte[] ss = session.ToBytes();
        //save ss to json file
    }

    public Session Load(string sessionUserId)
    {
        //Load session from json file
        var ss =  .....
        if (ss == null)
            return null;
        return Session.FromBytes((byte[])ss, this, sessionUserId);
    }
}
jorge-herrero
@jorge-herrero
every time you need to use a session use JsonSessionStore
ISessionStore sessionStore = new JsonSessionStore();
TelegramClient client = new TelegramClient(apiId, apiHash, sessionStore, "session", null);
TeddyZhang
@teddyzhang29
hello guys, I get a problem.
I get "The remote host forced an existing connection down." when I invoke "client.ConnectAsync()"
anyone has ideas?
image.png
Shayestefar
@Shayestefar
@jorge-herrero
Many thanks for your assistance in our project
wildtylus
@wildtylus
Hi, does anyone know how one could implement multiple active sessions for the same phone number using TLSharp ?