Docs & rules

pengrad/java-telegram-bot-apiGitHub

This is a public, read-only report. Striff reads this repository's docs, turns each sentence that makes a claim about the code into a rule, and checks the rule against the code on the default branch. How this works

1 stale name in these docs.

master5439215Last read Oct 5

Is this yours? Install to manage it

Once installed, Striff checks every pull request.

Documents
Rules
16
3
1 stale name13
3 docs
pengrad/java-telegram-bot-apiOpen repository

Stale names in these docs1

Each sentence below has a stale name: a type the default branch doesn't declare, or declares somewhere else. Edit the doc so it matches the code, or bring the type back.

  • GoneGetChatMembersCount
    GetChatMembersCount

    The repository once had library/src/main/java/com/pengrad/telegrambot/request/GetChatMembersCount.java. It doesn't now. Closest names there: GetChatMemberCount, GetChat.

    View on GitHub

pengrad/java-telegram-bot-api — documented rules

16 of 16 rules, printed October 14, 2026.

The sentence in your docs
Read Oct 2
Contains ok, errorCode, description.
3 rules from this sentence
BaseResponse has ok
Holds
BaseResponse has errorCode
Holds
BaseResponse has description
Holds
Read Oct 2
Types used in responses (Update, Message, User, Document...) are in com.pengrad.telegrambot.model package.
4 rules from this sentence
Update is in com.pengrad.telegrambot.model
Holds
Message is in com.pengrad.telegrambot.model
Holds
User is in com.pengrad.telegrambot.model
Holds
Document is in com.pengrad.telegrambot.model
Holds
Read Oct 2
Types used in requests (Keyboard, InlineQueryResult, ParseMode, InputMessageContent...) are in com.pengrad.telegrambot.model.request package.
4 rules from this sentence
Keyboard is in com.pengrad.telegrambot.model.request
Holds
InlineQueryResult is in com.pengrad.telegrambot.model.request
Holds
ParseMode is in com.pengrad.telegrambot.model.request
Holds
InputMessageContent is in com.pengrad.telegrambot.model.request
Holds
Read Oct 2
All send requests (SendMessage, SendPhoto, SendLocation...) return SendResponse object that contains Message.
SendResponse depends on Message
Holds
Read Oct 2
GetMe request returns GetMeResponse
GetMe depends on GetMeResponse
Holds
Read Oct 2
PassportData contains anarray of EncryptedPassportElement and EncryptedCredentials.
2 rules from this sentence
PassportData depends on EncryptedPassportElement
Holds
PassportData depends on EncryptedCredentials
Holds
Read Oct 2
EncryptedPassportElement also contains an array of PassportFile (file uploaded to Telegram Passport).
EncryptedPassportElement depends on PassportFile
Holds
16 rules from 2 docs

See these where the change is. The browser extension puts a pull request's doc findings, and a diagram of what it changed, on the GitHub page itself, so the code and what your docs say about it are side by side.