TLSharp | Telegram client library implemented in C | REST library

 by   sochix C# Version: Current License: No License

kandi X-RAY | TLSharp Summary

kandi X-RAY | TLSharp Summary

TLSharp is a C# library typically used in Web Services, REST applications. TLSharp has no bugs, it has no vulnerabilities and it has medium support. You can download it from GitHub.

Unofficial Telegram (client library implemented in C#. Check out TeleJS - a pure JavaScript implementation of Telegram MTP protocol. It's a perfect fit for any developer who would like to send data directly to Telegram users or write own custom Telegram client.
Support
    Quality
      Security
        License
          Reuse

            kandi-support Support

              TLSharp has a medium active ecosystem.
              It has 994 star(s) with 383 fork(s). There are 80 watchers for this library.
              OutlinedDot
              It had no major release in the last 6 months.
              There are 365 open issues and 510 have been closed. On average issues are closed in 219 days. There are 16 open pull requests and 0 closed requests.
              It has a neutral sentiment in the developer community.
              The latest version of TLSharp is current.

            kandi-Quality Quality

              TLSharp has 0 bugs and 0 code smells.

            kandi-Security Security

              TLSharp has no vulnerabilities reported, and its dependent libraries have no vulnerabilities reported.
              TLSharp code analysis shows 0 unresolved vulnerabilities.
              There are 0 security hotspots that need review.

            kandi-License License

              TLSharp does not have a standard license declared.
              Check the repository for any license declaration and review the terms closely.
              OutlinedDot
              Without a license, all rights are reserved, and you cannot use the library in your applications.

            kandi-Reuse Reuse

              TLSharp releases are not available. You will need to build from source code and install.
              Installation instructions are not available. Examples and code snippets are available.

            Top functions reviewed by kandi - BETA

            kandi's functional review helps you automatically verify the functionalities of the libraries and avoid rework.
            Currently covering the most popular Java, JavaScript and Python libraries. See a Sample of TLSharp
            Get all kandi verified functions for this library.

            TLSharp Key Features

            No Key Features are available at this moment for TLSharp.

            TLSharp Examples and Code Snippets

            No Code Snippets are available at this moment for TLSharp.

            Community Discussions

            QUESTION

            How to work with messages from WTelegramClient updates? (get chat/user infos)
            Asked 2022-Feb-11 at 07:12

            I'm new to the WTelegramClient C# Library and was used to TLSharp (not working anymore)

            I'm trying to understand how I get User info after update is received, I have the example code that listen to updates and write them in console but I can't understand how I can respond to the user that sent the message (new update)

            I think I need the user id/access_hash to send message to the sender but I can't understand how

            Here is how I get the new messages but it can get only username or name/id

            ...

            ANSWER

            Answered 2022-Feb-10 at 02:03

            Below is a quick example on how to modify DisplayMessage to react to a message sent in private from a user, get the details about this user, verify who it is and which text was sent to us, and then send him a message back.

            Notes:

            • For this example to work, you will need the latest version of Program_ListenUpdates.cs with static variables
            • DisplayMessage is now async void, in order to use await
            • You can pass user to send a message because class User is implicitly converted to InputPeerUser (with the user id/access_hash).
            • You can do similarly for messages coming from chats, using PeerChat/PeerChannel classes and the _chats dictionary to get chat details

            Source https://stackoverflow.com/questions/71046258

            QUESTION

            How to fix UPDATE_APP_TO_LOGIN error in TLSharp C#
            Asked 2022-Jan-31 at 21:43

            Hi i am using TLSharp latest version is 0.1.0.574 and when i call var hash = await client.SendCodeRequestAsync(""); i got error System.InvalidOperationException: 'UPDATE_APP_TO_LOGIN' anyone know how to fix it

            My code

            ...

            ANSWER

            Answered 2022-Jan-31 at 21:43

            The error "UPDATE_APP_TO_LOGIN" happens because your Telegram Client/Library uses an obsolete API layer.

            As stated on its project page, TLSharp is no longer maintained and will not be updated to fix this.

            You should switch to WTelegramClient which is:

            • offering up-to-date API (latest layer)
            • safer (latest MTProto v2 implementation and many security checks)
            • feature-complete (covers all API methods, handling of updates, multiple-DC connections)
            • easy-to-use (API calls are direct methods with fully documented parameters in VS)
            • designed for .NET 5.0+, but also available for .NET Standard 2.0 (.NET Framework 4.6.1+ & .NET Core 2.0+)

            Available on Nuget. ReadMe/Github is here.

            Source https://stackoverflow.com/questions/70270217

            QUESTION

            C# How to get messages from channel/contact using Telegram API (not Bot API)
            Asked 2021-Oct-16 at 00:06

            I found many examples using the bot api, however I need a simple client that implements an event when a message from a contact or group is received, as a user and not a bot (so the Telegram api, and not Bot api). TLSharp library doesn't implement this method. What is the best way to achieve it?

            ...

            ANSWER

            Answered 2021-Aug-31 at 07:19

            The provided link is old but it was a good starting point. Here is the updated working code:

            Source https://stackoverflow.com/questions/68888076

            QUESTION

            Telethon - change session file path
            Asked 2021-May-19 at 15:18

            I want to reuse existing session file (the phonenumber.session) file,

            But I want to change it default path (working directory) to another directory, like '/data/se.session'

            There is any option to do that in telethon?

            ...

            ANSWER

            Answered 2021-May-19 at 15:18

            After looking at telethon source code, I found this,

            Source https://stackoverflow.com/questions/67605930

            Community Discussions, Code Snippets contain sources that include Stack Exchange Network

            Vulnerabilities

            No vulnerabilities reported

            Install TLSharp

            You can download it from GitHub.

            Support

            If you have troubles while using TLSharp, I can help you for an additional fee. My pricing is 219$/hour. I accept PayPal. To request a paid support write me at Telegram @sochix, start your message with phrase [PAID SUPPORT].
            Find more information at:

            Find, review, and download reusable Libraries, Code Snippets, Cloud APIs from over 650 million Knowledge Items

            Find more libraries
            CLONE
          • HTTPS

            https://github.com/sochix/TLSharp.git

          • CLI

            gh repo clone sochix/TLSharp

          • sshUrl

            git@github.com:sochix/TLSharp.git

          • Stay Updated

            Subscribe to our newsletter for trending solutions and developer bootcamps

            Agree to Sign up and Terms & Conditions

            Share this Page

            share link