forked from watmildon/SmallCityMastodonBot
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathBotInfo.cs
More file actions
31 lines (28 loc) · 773 Bytes
/
BotInfo.cs
File metadata and controls
31 lines (28 loc) · 773 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
public class BotConfigFile
{
public Botinfo[] botInfo { get; set; }
}
public class Botinfo
{
public string botUrl { get; set; }
public string botDomain { get; set; }
public string botName { get; set; }
public string townFile { get; set; }
public Overpassquery[] overpassQuery { get; set; }
public Posttext postText { get; set; }
}
public class Posttext
{
public string greetingText { get; set; }
public string populationText { get; set; }
public string mapLinkText { get; set; }
}
public class Overpassquery
{
public string featureTag { get; set; }
public string queryType { get; set; }
public int countMaximum { get; set; }
public string radiusInMeters { get; set; }
public string message { get; set; }
}