Giter Club home page Giter Club logo

telegram's People

Contributors

jmanuelguerrero avatar josereyero avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

telegram's Issues

Port telegram module to Drupal 8

I like to port telegram module to Drupal 8 as a part of Google Summer of Code 2017. I already have experience in porting ace editor module. My ace editor code is available as 8.x-dev version.

Copy message from other channel

Hi
Sorry,I have a question about your project(telegram).
Can I get the message channels that I'm not their admin?
I want write a script that read message from other chanel and write to
my chanel.
I can do it?
best regards
thanks

Using PHP Classes

I think the Telegram-cli is updated now

I don't know if your script is work with new version (Telegram-cli)

also , If I want to type command directly without using your classes

how can do it?

for example: msg user1 test
command('msg user1 test'); // just example

thank you very much

Script de php no funciona

He seguido el tutorial para instalar el software. He conseguido ejecutar por terminal el script y poder enviar/recibir mensajes

captura de pantalla de 2015-01-15 10 38 51

he modificado el script.php e include.php de esta manera.

include.php

define('TELEGRAM_COMMAND', '/var/www/html/tg/tg/bin/telegram-cli');
define('TELEGRAM_KEYFILE', '/var/www/html/tg/tg/tg-server.pub');
define('TELEGRAM_CONFIG', '/etc/telegram/telegram.conf');
define('TELEGRAM_HOMEPATH', '/var/www/html/tg/configuracao');

send.php

!/usr/bin/php

sendMessage("carlos_p", "HolaMundo"); print "Result: $result\n"; print "\n\nDebug output:\n\n"; var_dump($client->getLogs()); ?>

el contenido de /etc/telegram/telegram.conf:

Telegram config file

log_level = 0;
msg_num = 1;
config_directory = "/var/www/html/tg/configuracao";

y el contenido de /var/www/html/tg/configuracao/:

contenido de var/www/html/tg/configuracao/

ls -la /var/www/html/tg/configuracao/
total 28
drwxrwxrwx 3 root root 4096 ene 15 10:17 .
drwxrwxrwx 5 vimes vimes 4096 ene 15 10:10 ..
-rwxrwxrwx 1 root root 1468 ene 15 10:29 auth
-rwxrwxrwx 1 root root 65 ene 15 10:17 config
drwxrwxrwx 2 root root 4096 ene 15 10:17 downloads
-rwxrwxrwx 1 root root 12 ene 15 10:17 secret
-rwxrwxrwx 1 root root 24 ene 15 10:29 state

(estan todos los archivos con permisos 777 porque estoy en local haciendo pruebas)

ejecuto el script desde terminal y la salida es esta:

captura de pantalla de 2015-01-15 10 39 11

pero no envia el mensaje, que puede ser????

gracias por tu tiempo y trabajo!

Send a text

How can I send a text message in api Telegram in php without a cli , how do I send and where to send data ? , You need an example , someone who has ?

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.