Exemplo n.º 1
0
def send_message(data):
    http_helper.post(TELEGRAM_SEND_URL, data)
Exemplo n.º 2
0
def open2(nodeServer, publicKey, timeout=4000):
    # TODO: check arguments
    return http.post(nodeServer+_kPaths['open2'], {'publicKey': publicKey}, timeout=timeout)
Exemplo n.º 3
0
def generatePublicKey(nodeServer, secret, timeout=4000):
    # TODO: check arguments
    return http.post(nodeServer+_kPaths['generatePublicKey'], {'secret': secret}, timeout=timeout)
Exemplo n.º 4
0
def open(nodeServer, secret, timeout=4000):
    # TODO: check argumens
    return http.post(nodeServer+_kPaths['open'], {'secret': secret}, timeout=timeout)