I deployed a telegram bot on GAE but it seems something went wrong - I do
not recive any updates from channel.
Is this a valid example, or there is an error?
import (
"log"
"net/http"
tgbotapi "github.com/go-telegram-bot-api/telegram-bot-api"
)
func main() {
log.Printf("%s",
"
I've already tried it but in this case telegrambot did not recieve any
updates from the updates channel.
I used this reference
https://github.com/go-telegram-bot-api/telegram-bot-api/wiki/Webhooks
but instead of www.google.com:8443 I used also patternbot.appspot.com:8443.
And should I use
go
switch to using a webhook so telegram calls you through a handler
this is a limitation of GAE's request based model
On Sunday, September 15, 2019 at 4:04:29 PM UTC+2, Andreas wrote:
>
>
>
> I uploaded a simple telegram bot to google-aplication-engine. And after
> uploading it works as expected s
On Sunday, September 15, 2019 at 12:35:27 PM UTC-4, Axel Wagner wrote:
>
> On Sun, Sep 15, 2019 at 6:11 PM T L >
> wrote:
>
>> Do you mean if there is already a require line in the go.mod file,
>> which requires a non-formal tagged version,
>> then "go get ...@latest" will rollback the require t
On Sun, Sep 15, 2019 at 6:11 PM T L wrote:
> Do you mean if there is already a require line in the go.mod file,
> which requires a non-formal tagged version,
> then "go get ...@latest" will rollback the require to the latest formal
> tagged version,
> but "go get ...@upgrade" will not?
>
AIUI (n
On Saturday, September 14, 2019 at 11:04:06 AM UTC-4, Axel Wagner wrote:
>
> Can you explain more specifically what you don't understand?
> The example seems pretty clear: Say you currently require the latest
> master commit (e.g. by using a pseudo-version), which is a couple commits
> ahead of
On Sunday, September 15, 2019 at 1:26:06 AM UTC-4, Sathish VJ wrote:
>
> Yes, that makes sense. Thank you.
>
> The example I wrote was concocted. But I've seen others do it on their
> own types too, which didn't make sense at all. Maybe they were just
> copy-pasting similar code from elsewhere
I uploaded a simple telegram bot to google-aplication-engine. And after
uploading it works as expected some time. Then it stoped respond to request
from telegram. The bot is very simple
func main() {
> bot, err := tba.NewBotAPI("apitockenhere")
> ...
> for {
> select {
>
I uploaded a simple telegram bot to google-aplication-engine. And after
uploading it works as expected some time. Then it stoped respond to request
from telegram. The bot is very simple
```
func main() {
bot, err := tba.NewBotAPI("apitockenhere")
...
for {
select {
ca