Giter Site home page Giter Site logo

tgsharp's Introduction

tgsharp

Telegram group GitHub

This is full implemented library that handles telegram api and protocol in C# environment for the first time.

Authors:

  • @Amin1SoftCo (Amin Rajabi Zade)

  • @NIMIX3 (Nima Akhlaghi)

Current versions:

  • schema: Layer 66

API, Protocol documentation

Documentation for Telegram API is available here: https://core.telegram.org/api

Documentation for MTproto protocol is available here: https://core.telegram.org/mtproto

Usage & Deploy

Download GitHub Repository

 Add _api.dll and all of it's dependencies as refrence in visual studio.
 You can also see example project that embeded.

All available implemented methods and properties

Properties:

 tgsharp.AccountContacts
 tgsharp.api
 tgsharp.appVersion
 tgsharp.AuthInvalidated
 tgsharp.bot
 tgsharp.channel
 tgsharp.chathash
 tgsharp.chatId
 tgsharp.date
 tgsharp.dcId
 tgsharp.Dcounter
 tgsharp.Destroyed
 tgsharp.DeviceModel
 tgsharp.extractedIds
 tgsharp.extractedNumbers
 tgsharp.files
 tgsharp.flood_time
 tgsharp.flood_wait
 tgsharp.index
 tgsharp.langCode
 tgsharp.last_message
 tgsharp.peer_flood
 tgsharp.sended_files
 tgsharp.sended_messages
 tgsharp.SenderPhoneNo
 tgsharp.Senders_path
 tgsharp.sentChangePhoneCode
 tgsharp.sentCode
 tgsharp.sent_result
 tgsharp.systemVersion
 tgsharp.tzid
 ...

Methods:

 tgsharp.addUserToChat
 tgsharp.Authrize
 tgsharp.AuthrizeToOtherDC
 tgsharp.changeAccountPassword
 tgsharp.changeAvatar
 tgsharp.changeChannelPhoto
 tgsharp.changeChatPhoto
 tgsharp.changeCurrentSession
 tgsharp.ChangePhone
 tgsharp.checkAuth
 tgsharp.checkIsRestricted
 tgsharp.checkIsRestrictedForGroup
 tgsharp.checkNetwork
 tgsharp.checkPhone
 tgsharp.clearContacts
 tgsharp.Convert2SuperGroup
 tgsharp.countchannel
 tgsharp.countContacts
 tgsharp.createChannel
 tgsharp.createChat
 tgsharp.createChat2
 tgsharp.createChatWithCurrentMembers
 tgsharp.deleteAccount
 tgsharp.deleteAllChannels
 tgsharp.deleteAllGroups
 tgsharp.deleteChannel
 tgsharp.deleteChannels
 tgsharp.deleteGroupMember
 tgsharp.deleteGroups
 tgsharp.deleteProfilePhotos
 tgsharp.deleteSuperGroupMembers
 tgsharp.destroy
 tgsharp.downloadProfilePic
 tgsharp.Equals
 tgsharp.equals
 tgsharp.extractMembers
 tgsharp.extractMembersWithId
 tgsharp.forwardMessage
 tgsharp.getBotDialogs
 tgsharp.getChannelMessages
 tgsharp.getChannelParticipants
 tgsharp.getChannels
 tgsharp.getChatDialogs
 tgsharp.getClass
 tgsharp.getContactId
 tgsharp.getDifferences
 tgsharp.getExtractedIds
 tgsharp.getExtractedNumbers
 tgsharp.GetHashCode
 tgsharp.GetType
 tgsharp.get_channel_link
 tgsharp.hashCode
 tgsharp.hideReportSpam
 tgsharp.importContacts
 tgsharp.initial
 tgsharp.InviteCurrentMembersToChannel
 tgsharp.joinbot
 tgsharp.joinChannel
 tgsharp.joinChannellink
 tgsharp.join_supergroup
 tgsharp.kikchannel
 tgsharp.leaveChannel
 tgsharp.leaveGroup
 tgsharp.loadServerConfigurations
 tgsharp.login
 tgsharp.logWithSenderNumber
 tgsharp.markChannelMessagesAsRead
 tgsharp.notify
 tgsharp.notifyAll
 tgsharp.randInt
 tgsharp.removeUserFromChat
 tgsharp.removeUsersFromChat
 tgsharp.resetAccount
 tgsharp.resetAuthrizations
 tgsharp.resetNotifications
 tgsharp.resolveChannelUserName
 tgsharp.resolveUserName
 tgsharp.sendChangePhoneCode
 tgsharp.sendFileByUid
 tgsharp.sendFileToPhone
 tgsharp.sendMessageByUid
 tgsharp.sendMessageToChannel
 tgsharp.sendMessageToPhone
 tgsharp.setchatAdmin
 tgsharp.setStatus
 tgsharp.SetUsername
 tgsharp.supergroup
 tgsharp.switchAccount
 tgsharp.toggleChannelComments
 tgsharp.toString
 tgsharp.ToString
 tgsharp.updateChannelUsername
 tgsharp.UpdateProfile
 tgsharp.updateProfile
 tgsharp.uploadFile
 tgsharp.uploadProfilePic
 tgsharp.ViewChannel
 tgsharp.wait
 tgsharp._Last
 ...

Term of use

  • Please Accept all of these rules before using this source, or if you declined with these please close this repository.
  1. Don't use this library to make dangerous applications and don't use for hacking or scamming purpose
  2. Don't sell this library to other peoples, and if you want to bring this library you should send this repository link.
  3. Don't use this library to face making though! and to inflate with pride!
  4. Help peoples who search for such library as you like! and tell them this repository link.

Contacts

If you would like to ask a question, you can write to our telegram or to the github (or both). To contact us via telegram, use our usernames :

  • @Amin1SoftCo
  • @NiMiX3

Be Happy ;)

tgsharp's People

Contributors

nimix3 avatar

Watchers

 avatar  avatar

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.