-
Notifications
You must be signed in to change notification settings - Fork 4
/
Copy pathconst.go
50 lines (47 loc) · 1.32 KB
/
const.go
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
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
package main
import "github.com/MakeGolangGreat/telegraph-go"
const (
projectLink = "https://github.com/MakeGolangGreat/ArchiveBot"
projectName = "MakeGolangGreat"
projectDesc = `<blockquote>本页面由开源程序「<a href="https://github.com/MakeGolangGreat/ArchiveBot">ArchiveBot</a>」生成,内容来自网络。</blockquote>`
apiEndpoint = "https://api.telegram.org/bot%s/%s"
)
var attachInfo = &telegraph.NodeElement{
Tag: "p",
Children: []telegraph.Node{
telegraph.NodeElement{
Tag: "br",
},
telegraph.NodeElement{
Tag: "blockquote",
Children: []telegraph.Node{
telegraph.NodeElement{
Tag: "strong",
Children: []telegraph.Node{"本页面由 "},
},
telegraph.NodeElement{
Tag: "a",
Attrs: map[string]string{
"href": "https://t.me/beifenbot",
},
Children: []telegraph.Node{"@beifenbot"},
},
telegraph.NodeElement{
Tag: "strong",
Children: []telegraph.Node{" 备份,"},
},
telegraph.NodeElement{
Tag: "strong",
Children: []telegraph.Node{"代码开源:"},
},
telegraph.NodeElement{
Tag: "a",
Attrs: map[string]string{
"href": "https://github.com/MakeGolangGreat/ArchiveBot",
},
Children: []telegraph.Node{"https://github.com/MakeGolangGreat/ArchiveBot"},
},
},
},
},
}