-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy pathmos.yml
More file actions
executable file
·35 lines (28 loc) · 1.35 KB
/
mos.yml
File metadata and controls
executable file
·35 lines (28 loc) · 1.35 KB
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
author: Aleksey Kotelnikov <kotelnikov.www@gmail.com>
type: lib
description: Telegram Bot API library for Mongoose OS
version: 2.1
includes:
- include
sources:
- src
filesystem:
- fs
libs:
- origin: https://github.com/mongoose-os-libs/core
- origin: https://github.com/mongoose-os-libs/ca-bundle
config_schema:
- ["telegram", "o", {title: "Telegram Bot settings object"}]
- ["telegram.enable", "b", false, {title: "Telegram Bot enable flag"}]
- ["telegram.server", "s", "https://api.telegram.org", {title: "Telegram Bot server"}]
- ["telegram.token", "s", "", {title: "Telegram Bot token"}]
- ["telegram.timeout", "i", 30, {title: "Telegram Bot getUpdate timeout"}]
- ["telegram.update_queue_len", "i", 3, {title: "Telegram Bot RX queue"}]
- ["telegram.request_queue_len", "i", 3, {title: "Telegram Bot TX queue"}]
- ["telegram.acl", "s", "", {title: "Telegram Bot access list (as JSON contains array of chat id's)"}]
- ["telegram.echo_bot", "b", true, {title: "Telegram Bot EchoBot enable for testing"}]
tags:
- telegram
- c
- js
manifest_version: 2020-01-29