Size: a a a

2016 October 28

J

Jesus in Dev Chat
I see
источник

RX

Ray X in Dev Chat
follow the api doc. it descripbed as sendGame only need chat_id, game_short_name, and reply_markup is optional. reply_markup is JSON-serialized Object for inline keyboard.   So just do like normal inline_keyboard.  While I'm using telegram-node-bot for api.
источник

RX

Ray X in Dev Chat
already checked tdesktop source code. nothing found. The sendGame api is available since Oct 03 2016.
источник

RX

Ray X in Dev Chat
And here is the request { chat_id: 247363109,
    game_short_name: 'soccercup',
    disable_notification: false,
    reply_markup: '{"inline_keyboard":[[{"text":"Play Solo","url":"http://www.google.com/","callback_game":{"game_short_name":"soccercup"}}],[{"text":"Play with friend","url":"https://telegram.me/webgame_bot?game=soccercup","callback_game":{"game_short_name":"soccercup"}}]]}' }
источник
2016 October 30

Bd

Berry de Jager in Dev Chat
i am just starting on using LUA...
источник

Bd

Berry de Jager in Dev Chat
is it possible to auto-reply in groups?
источник

Bd

Berry de Jager in Dev Chat
function on_msg_receive (msg)
   if msg.out then
       return
   end
   if (msg.text=='zuur') then
       send_msg (msg.from.print_name, 'Heerlijk toch!', ok_cb, false)
   end
end
источник

Bd

Berry de Jager in Dev Chat
this works only for 1:1 chat
источник

Bd

Berry de Jager in Dev Chat
i tried "on_chat_update" but no fireworks
источник

J

Jesus in Dev Chat
@illustrator ты ещё дизайнишь?
источник

j

jeny@^=# in Dev Chat
Я только этим и занимаюсь, ага
источник
2016 November 01

JG

Jesús González in Dev Chat
Berry de Jager
this works only for 1:1 chat
Well listen to regexp or what else and use send message
источник

JG

Jesús González in Dev Chat
Remember activate privacy for groups
источник

NO

Nikita Osadchiy in Dev Chat
привет всем, у кого-то есть идеи как реализовать $.routeTo в версии 4.0? - https://github.com/Naltox/telegram-node-bot/issues/72
источник

NA

Narek Abovyan in Dev Chat
Там есть emulateUpdate, этого достаточно
источник

T

TogusaRusso in Dev Chat
Sorry, can someone help me with this question?
источник

T

TogusaRusso in Dev Chat
источник

T

TogusaRusso in Dev Chat
I found workaround, but not sure, it's ideal solution.
источник

NO

Nikita Osadchiy in Dev Chat
Narek Abovyan
Там есть emulateUpdate, этого достаточно
Спасибо, попробую
источник

iL

iLia Lumpov in Dev Chat
привет! Как отключить webadmin?
источник