Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Need to add format:"json" tag #216

Open
elias506 opened this issue Apr 28, 2022 · 1 comment
Open

Need to add format:"json" tag #216

elias506 opened this issue Apr 28, 2022 · 1 comment

Comments

@elias506
Copy link

In method messages.send need to add format:"json" tag to fields messages_forward and messages_keyboard:

{
        "name": "messages.send",
        ...
        "parameters": [
                ...
                {
                  "name": "forward",
                  "description": "JSON describing the forwarded message or reply",
                  "type": "string",
                  "format": "json",
                  "$ref": "objects.json#/definitions/messages_forward"
                },
                ...
                {
                  "name": "keyboard",
                  "type": "string",
                  "format": "json",
                  "$ref": "objects.json#/definitions/messages_keyboard"
                },
                ...
}
@elias506
Copy link
Author

Fix by #214

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant