public NoContactHandler(TelegramBotReply reply, Chat originalGroup, User u, TelegramBot.TelegramBot bot) { reply.OnMessageNotSent += OnMessageNotSent; this.originalGroup = originalGroup; user = u; this.bot = bot; }
public static TelegramBotReply ReplyBotNoContact(TelegramBotReply reply, Chat originalGroup, User user) { reply.Tag = new NoContactHandler(reply, originalGroup, user, Spoilerbot); return reply; }
public SpoilerFlow(Chat group) { Group = group; Spoiler = new Spoiler { ChatId = group.ID }; HandlerType = ACCEPTEDTYPES; }