Skip to content
This repository has been archived by the owner on May 26, 2022. It is now read-only.

Attempting to call messages.setTyping results in an error #27

Closed
kamikazechaser opened this issue Mar 14, 2017 · 1 comment
Closed

Attempting to call messages.setTyping results in an error #27

kamikazechaser opened this issue Mar 14, 2017 · 1 comment

Comments

@kamikazechaser
Copy link

Attempting to call messages.setTyping for a user bot results in an error:

{
   ok: false
   error_code: 400
   description: "Predicate was not set! on line 191 of TL.php"
}

This is my GET request:

https://api.pwrtelegram.xyz/user135207785:XXXXXXXXXXX/messages.setTyping?peer=135207785&action=sendMessageTypingAction

@danog
Copy link
Member

danog commented Mar 14, 2017

https://api.pwrtelegram.xyz/user135207785:XXXXXXXXXXX/messages.setTyping?peer=135207785&action={"_":"sendMessageTypingAction"}
This is the correct syntax.

@danog danog closed this as completed Mar 14, 2017
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants