telegram-bot
Telegram is a non-profit, cloud-based instant messaging service. It offers open source clients for a multitude of operating systems and powerful APIs that allow developers to create their own clients and chat bots.
Here are 4,516 public repositories matching this topic...
Step 1: Have you search for this issue before posting it?
yes
If you have discovered a bug in the bot, please search our issue tracker.
If it hasn't been reported, please create a new issue.
Step 2: Describe your environment
- platform: Docker - latest build(Digest:sha256:3e8fe20bf6aaad9095e1ba0924ce2af3368cc55d1fe41ee
-
Updated
Jun 7, 2020 - Python
-
Updated
Feb 10, 2020
Currently to create a command it must be a class with the same name like the command + "Command" in the command directory.
e.g.:
Command -> /foobar
Class -> FooBarCommand
But if you want to start a command with a number or an spezialchar in the commandname you can't create this command.
The idea is that you can set a list of classes and in this class you have a property
These warnings appear when the Spring application starts:
03:01:22.550 [restartedMain] DEBUG org.telegram.telegrambots.meta.ApiContext - Class org.telegram.telegrambots.meta.generics.BotSession already registered
03:01:22.557 [restartedMain] DEBUG org.telegram.telegrambots.meta.ApiContext - Class org.telegram.telegrambots.meta.generics.Webhook already registeredIs this ok?
According to the documentation in ChatMember class
@method string getStatus() (Optional). The member's status in the chat. Can be “creator”, “administrator”, “member”, “left” or “kicked”
getStatus() should return the member's status, but actually there is a conflicting getStatus() in BaseObject that returns the status of the request.
As a workaround, get('status') re
It's very frustrating that some of the pages are missing. I need to know some more info about those features
We add gitlab bot in group but all of the message is not necessary for everyone.
so i thinks it's very good feature that give the usernames of users to bot and bot mention the user if that pm related to that user.
Hi,
I would like to know how to use this gem with Rails app ?
If there is a sample app, please provide its source code url.
Thanks.
-
Updated
Jun 13, 2020 - JavaScript
Install on Ubuntu 18.04.4 LTS to run standalone
(I condense a 14 hour research and headaches into a 5 minutes install)
Make sure you have the latest node.js and npm
Create your bot with @Botfather (/newbot)
add TELEGRAM_TOKEN with the value you got from @Botfather in /etc/environment (TELEGRAM_TOKEN="theToken Value")
apt-get update
apt-get install -y curl gnupg2 git build-essen
-
Updated
Feb 9, 2020
Context
Please provide any relevant information about your setup. This is important in case the issue is not reproducible except for under certain conditions.
- Operating System: archlinux
- Python Version: 3.8.2
- aiogram version: 2.7
- aiohttp version: 3.6.2
- uvloop version (if installed): nop
Expected Behavior
Please describe the behavior you are expecting.
after the u
-
Updated
Jun 11, 2020 - Rust
-
Updated
Apr 25, 2020 - Python
-
Updated
Mar 21, 2018 - Python
-
Updated
Jun 5, 2020 - Java
-
Updated
Dec 12, 2019 - Python
Прикручиваю библиотеку к фреймворку yii2. Почему-то после того, как я добавил 2ую функцию on() для обработки текста пришедшего сообщение - ответы с первого on() (которая обрабатывает кнопки) приходят по 3 (три) раза... Если убирать вторую on() - работает, как надо - один ответ. Раньше на нативном php такой код работал. На фреймворке что-то магия какая-то...
Код экшна, где лежит бот:
f
-
Updated
Jun 2, 2020 - JavaScript
-
Updated
Apr 14, 2020 - Python
Messages translation
Объединить распространенные и часто используемые переводы в один файл (например, common.php), так как в app.php и bot.php есть повторяющиеся записи (sexuality, birthday, ...)
It seems that the implementation ignores status codes at all. Thus, it's impossible to detect rate limit violations and handle them. Is that right?
-
Updated
May 8, 2020 - Go
-
Updated
Jun 8, 2020 - Java
-
Updated
Jun 30, 2019 - Python
In the language script there's this eval function
https://github.com/group-butler/GroupButler/blob/master/lua/languages.lua#L12
that seems to be here just to remove the "" from the locales
isn't better (and safe) to just use the string.sub function like so
local function eval(str)
return str:sub(2,-2) -- first and last "
:gsub('\"', '"') -- " -> "
:gsub("\n", "\n") -- \n -> newlin
Context
Expected Behavior
In the Telegraf documentation in Doc says that the extra parameter can be whatever that official telegram doc has said! So I can be able to send something to bot: