C# 클래스 SanderVantEinde.WindesheimRoosterBot.MessageHandlers.RoosterMessageHandler

상속: SanderVantEinde.TelegramBot.TemplateMessageHandlerAsync
파일 보기 프로젝트 열기: sandervanteinde/TelegramBot 1 사용 예제들

보호된 메소드들

메소드 설명
FormatRoosterResponse ( Rooster rooster, User user ) : TelegramBotReply
HandleMessageAsync ( TelegramBot bot, Message m, MessageHandlerType type ) : Task

비공개 메소드들

메소드 설명
CountWithoutIgnoredLessen ( List lessen, UserPreferences preferences ) : int
GetResult ( RoosterFor roosterFor, System.DateTime date, System.DateTime restrict = null ) : Task
GetResult ( UserPreferences preferences, System.DateTime date, System.DateTime restrict = null ) : Task
GetRoosterForDocentOrKlas ( string command, string arguments, User from, RoosterFor roosterFor, bool useUserPreferences = true ) : Task
WrongDateFormat ( Message m ) : TelegramBotReply
WrongDateFormat ( int id ) : TelegramBotReply

메소드 상세

FormatRoosterResponse() 보호된 메소드

protected FormatRoosterResponse ( Rooster rooster, User user ) : TelegramBotReply
rooster Rooster
user SanderVantEinde.TelegramBot.User
리턴 SanderVantEinde.TelegramBot.TelegramBotReply

HandleMessageAsync() 보호된 메소드

protected HandleMessageAsync ( TelegramBot bot, Message m, MessageHandlerType type ) : Task
bot SanderVantEinde.TelegramBot.TelegramBot
m SanderVantEinde.TelegramBot.Message
type MessageHandlerType
리턴 Task