@grammyjs/types 2.12.0 → 2.12.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (2) hide show
  1. package/package.json +1 -1
  2. package/proxied.d.ts +1 -1
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@grammyjs/types",
3
- "version": "2.12.0",
3
+ "version": "2.12.1",
4
4
  "description": "Telegram Bot API type declarations for grammY",
5
5
  "main": "index.js",
6
6
  "repository": {
package/proxied.d.ts CHANGED
@@ -975,7 +975,7 @@ export interface InputFileProxy<F> {
975
975
  chat_id: number | string;
976
976
  }): number;
977
977
 
978
- /** Use this method to get information about a member of a chat. The method is guaranteed to work only if the bot is an administrator in the chat. Returns a ChatMember object on success. */
978
+ /** Use this method to get information about a member of a chat. The method is only guaranteed to work for other users if the bot is an administrator in the chat. Returns a ChatMember object on success. */
979
979
  getChatMember(args: {
980
980
  /** Unique identifier for the target chat or username of the target supergroup or channel (in the format @channelusername) */
981
981
  chat_id: number | string;