summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorAlexander Kiryukhin <a.kiryukhin@mail.ru>2019-04-17 15:07:50 +0300
committerAlexander Kiryukhin <a.kiryukhin@mail.ru>2019-04-17 15:07:50 +0300
commit44d7ac1f4a93c63c8fd565667bbc358ed1697bdf (patch)
tree065f1793c90222bf9984c5170923eca74ed82e38 /lib
parentfb618eb837e6baa8408be507145de27ba303482c (diff)
Refactoring
Diffstat (limited to 'lib')
-rw-r--r--lib/models.go14
1 files changed, 14 insertions, 0 deletions
diff --git a/lib/models.go b/lib/models.go
new file mode 100644
index 0000000..ccc7601
--- /dev/null
+++ b/lib/models.go
@@ -0,0 +1,14 @@
+package lib
+
+type Message struct {
+ From string
+ To int64
+ Text string
+ Images []string
+ Sticker string
+}
+
+type Routing struct {
+ TgID int64
+ TTID int64
+}