C# 클래스 TeleBotDotNet.TeleBot

API implementation of January 20, 2016. For documentation, please see https://core.telegram.org/bots/api.
파일 보기 프로젝트 열기: LouisMT/TeleBotDotNet 1 사용 예제들

Private Properties

프로퍼티 타입 설명
DecodeWebResponse JsonData
ExecuteAction dynamic

공개 메소드들

메소드 설명
AnswerInlineQuery ( AnswerInlineQueryRequest answerInlineQueryRequest ) : AnswerInlineQueryResponse
ConvertWebhookResponse ( string json ) : UpdateResponse
ForwardMessage ( TeleBotDotNet.Requests.Methods.ForwardMessageRequest forwardMessageRequest ) : TeleBotDotNet.Responses.Methods.ForwardMessageResponse
GetFile ( TeleBotDotNet.Requests.Methods.GetFileRequest getFileRequest ) : TeleBotDotNet.Responses.Methods.GetFileResponse
GetMe ( TeleBotDotNet.Requests.Methods.GetMeRequest getMeRequest ) : TeleBotDotNet.Responses.Methods.GetMeResponse
GetUpdates ( TeleBotDotNet.Requests.Methods.GetUpdatesRequest getUpdatesRequest ) : TeleBotDotNet.Responses.Methods.GetUpdatesResponse
GetUserProfilePhotos ( TeleBotDotNet.Requests.Methods.GetUserProfilePhotosRequest getUserProfilePhotosRequest ) : TeleBotDotNet.Responses.Methods.GetUserProfilePhotosResponse
SendAudio ( SendAudioRequest sendAudioRequest ) : TeleBotDotNet.Responses.Methods.SendAudioResponse
SendChatAction ( TeleBotDotNet.Requests.Methods.SendChatActionRequest sendChatActionRequest ) : TeleBotDotNet.Responses.Methods.SendChatActionResponse
SendDocument ( TeleBotDotNet.Requests.Methods.SendDocumentRequest sendDocumentRequest ) : TeleBotDotNet.Responses.Methods.SendDocumentResponse
SendLocation ( TeleBotDotNet.Requests.Methods.SendLocationRequest sendLocationRequest ) : TeleBotDotNet.Responses.Methods.SendLocationResponse
SendMessage ( SendMessageRequest sendMessageRequest ) : SendMessageResponse
SendPhoto ( TeleBotDotNet.Requests.Methods.SendPhotoRequest sendPhotoRequest ) : TeleBotDotNet.Responses.Methods.SendPhotoResponse
SendSticker ( TeleBotDotNet.Requests.Methods.SendStickerRequest sendStickerRequest ) : TeleBotDotNet.Responses.Methods.SendStickerResponse
SendVideo ( TeleBotDotNet.Requests.Methods.SendVideoRequest sendVideoRequest ) : TeleBotDotNet.Responses.Methods.SendVideoResponse
SetWebhook ( TeleBotDotNet.Requests.Methods.SetWebhookRequest setWebhookRequest ) : TeleBotDotNet.Responses.Methods.SetWebhookResponse
TeleBot ( string apiToken, bool enableLog = false ) : System

비공개 메소드들

메소드 설명
DecodeWebResponse ( WebResponse webResponse ) : JsonData
ExecuteAction ( BaseMethodRequest request ) : dynamic

메소드 상세

AnswerInlineQuery() 공개 메소드

public AnswerInlineQuery ( AnswerInlineQueryRequest answerInlineQueryRequest ) : AnswerInlineQueryResponse
answerInlineQueryRequest TeleBotDotNet.Requests.Methods.AnswerInlineQueryRequest
리턴 TeleBotDotNet.Responses.Methods.AnswerInlineQueryResponse

ConvertWebhookResponse() 공개 메소드

public ConvertWebhookResponse ( string json ) : UpdateResponse
json string
리턴 TeleBotDotNet.Responses.Types.UpdateResponse

ForwardMessage() 공개 메소드

public ForwardMessage ( TeleBotDotNet.Requests.Methods.ForwardMessageRequest forwardMessageRequest ) : TeleBotDotNet.Responses.Methods.ForwardMessageResponse
forwardMessageRequest TeleBotDotNet.Requests.Methods.ForwardMessageRequest
리턴 TeleBotDotNet.Responses.Methods.ForwardMessageResponse

GetFile() 공개 메소드

public GetFile ( TeleBotDotNet.Requests.Methods.GetFileRequest getFileRequest ) : TeleBotDotNet.Responses.Methods.GetFileResponse
getFileRequest TeleBotDotNet.Requests.Methods.GetFileRequest
리턴 TeleBotDotNet.Responses.Methods.GetFileResponse

GetMe() 공개 메소드

public GetMe ( TeleBotDotNet.Requests.Methods.GetMeRequest getMeRequest ) : TeleBotDotNet.Responses.Methods.GetMeResponse
getMeRequest TeleBotDotNet.Requests.Methods.GetMeRequest
리턴 TeleBotDotNet.Responses.Methods.GetMeResponse

GetUpdates() 공개 메소드

public GetUpdates ( TeleBotDotNet.Requests.Methods.GetUpdatesRequest getUpdatesRequest ) : TeleBotDotNet.Responses.Methods.GetUpdatesResponse
getUpdatesRequest TeleBotDotNet.Requests.Methods.GetUpdatesRequest
리턴 TeleBotDotNet.Responses.Methods.GetUpdatesResponse

GetUserProfilePhotos() 공개 메소드

public GetUserProfilePhotos ( TeleBotDotNet.Requests.Methods.GetUserProfilePhotosRequest getUserProfilePhotosRequest ) : TeleBotDotNet.Responses.Methods.GetUserProfilePhotosResponse
getUserProfilePhotosRequest TeleBotDotNet.Requests.Methods.GetUserProfilePhotosRequest
리턴 TeleBotDotNet.Responses.Methods.GetUserProfilePhotosResponse

SendAudio() 공개 메소드

public SendAudio ( SendAudioRequest sendAudioRequest ) : TeleBotDotNet.Responses.Methods.SendAudioResponse
sendAudioRequest SendAudioRequest
리턴 TeleBotDotNet.Responses.Methods.SendAudioResponse

SendChatAction() 공개 메소드

public SendChatAction ( TeleBotDotNet.Requests.Methods.SendChatActionRequest sendChatActionRequest ) : TeleBotDotNet.Responses.Methods.SendChatActionResponse
sendChatActionRequest TeleBotDotNet.Requests.Methods.SendChatActionRequest
리턴 TeleBotDotNet.Responses.Methods.SendChatActionResponse

SendDocument() 공개 메소드

public SendDocument ( TeleBotDotNet.Requests.Methods.SendDocumentRequest sendDocumentRequest ) : TeleBotDotNet.Responses.Methods.SendDocumentResponse
sendDocumentRequest TeleBotDotNet.Requests.Methods.SendDocumentRequest
리턴 TeleBotDotNet.Responses.Methods.SendDocumentResponse

SendLocation() 공개 메소드

public SendLocation ( TeleBotDotNet.Requests.Methods.SendLocationRequest sendLocationRequest ) : TeleBotDotNet.Responses.Methods.SendLocationResponse
sendLocationRequest TeleBotDotNet.Requests.Methods.SendLocationRequest
리턴 TeleBotDotNet.Responses.Methods.SendLocationResponse

SendMessage() 공개 메소드

public SendMessage ( SendMessageRequest sendMessageRequest ) : SendMessageResponse
sendMessageRequest TeleBotDotNet.Requests.Methods.SendMessageRequest
리턴 TeleBotDotNet.Responses.Methods.SendMessageResponse

SendPhoto() 공개 메소드

public SendPhoto ( TeleBotDotNet.Requests.Methods.SendPhotoRequest sendPhotoRequest ) : TeleBotDotNet.Responses.Methods.SendPhotoResponse
sendPhotoRequest TeleBotDotNet.Requests.Methods.SendPhotoRequest
리턴 TeleBotDotNet.Responses.Methods.SendPhotoResponse

SendSticker() 공개 메소드

public SendSticker ( TeleBotDotNet.Requests.Methods.SendStickerRequest sendStickerRequest ) : TeleBotDotNet.Responses.Methods.SendStickerResponse
sendStickerRequest TeleBotDotNet.Requests.Methods.SendStickerRequest
리턴 TeleBotDotNet.Responses.Methods.SendStickerResponse

SendVideo() 공개 메소드

public SendVideo ( TeleBotDotNet.Requests.Methods.SendVideoRequest sendVideoRequest ) : TeleBotDotNet.Responses.Methods.SendVideoResponse
sendVideoRequest TeleBotDotNet.Requests.Methods.SendVideoRequest
리턴 TeleBotDotNet.Responses.Methods.SendVideoResponse

SetWebhook() 공개 메소드

public SetWebhook ( TeleBotDotNet.Requests.Methods.SetWebhookRequest setWebhookRequest ) : TeleBotDotNet.Responses.Methods.SetWebhookResponse
setWebhookRequest TeleBotDotNet.Requests.Methods.SetWebhookRequest
리턴 TeleBotDotNet.Responses.Methods.SetWebhookResponse

TeleBot() 공개 메소드

public TeleBot ( string apiToken, bool enableLog = false ) : System
apiToken string
enableLog bool
리턴 System