public TelegramBotAbstract(TelegramBotClient botClient, string website, string contactString,
                            BotTypeApi botTypeApi)
 {
     _botClient     = botClient;
     _isbot         = botTypeApi;
     _website       = website;
     _contactString = contactString;
 }
 public TelegramBotAbstract(TelegramClient userbotClient, string website, string contactString, long id,
                            BotTypeApi botTypeApi)
 {
     _userbotClient = userbotClient;
     _isbot         = botTypeApi;
     _website       = website;
     _contactString = contactString;
     _id            = (int)id;
 }
Ejemplo n.º 3
0
 private TelegramBotAbstract(TelegramBotClient botClient, TelegramClient userBotClient, BotTypeApi botTypeApi,
                             string website, string contactString, long id)
 {
     _userbotClient = userBotClient;
     _botClient     = botClient;
     _isbot         = botTypeApi;
     _website       = website;
     _contactString = contactString;
     _id            = id;
 }
Ejemplo n.º 4
0
 internal bool SetIsBot(BotTypeApi v)
 {
     KeyValuePairs[ConstConfigBot.IsBot] = v;
     return(true);
 }
Ejemplo n.º 5
0
 internal new bool SetIsBot(BotTypeApi v)
 {
     return(false);
 }
Ejemplo n.º 6
0
 public TelegramBotAbstract(TelegramClient userbotClient, string website, string contactString, long id,
                            BotTypeApi botTypeApi, string mode) : this(null, userbotClient, botTypeApi, website, contactString, id)
 {
     this.mode = mode;
 }
Ejemplo n.º 7
0
 public TelegramBotAbstract(TelegramBotClient botClient, string website, string contactString,
                            BotTypeApi botTypeApi, string mode) : this(botClient, null, botTypeApi, website, contactString,
                                                                       botClient.BotId)
 {
     this.mode = mode;
 }