diff --git a/doc/api.md b/doc/api.md
index 42516c5..52cb1a2 100644
--- a/doc/api.md
+++ b/doc/api.md
@@ -443,7 +443,7 @@ Returns True on success.
| Param | Type | Description |
| --- | --- | --- |
| chatId | Number
| String
| Unique identifier for the target group or username of the target supergroup |
-| userId | String
| Unique identifier of the target user |
+| userId | Number
| Unique identifier of the target user |
@@ -459,7 +459,7 @@ the group for this to work. Returns True on success.
| Param | Type | Description |
| --- | --- | --- |
| chatId | Number
| String
| Unique identifier for the target group or username of the target supergroup |
-| userId | String
| Unique identifier of the target user |
+| userId | Number
| Unique identifier of the target user |
@@ -475,7 +475,7 @@ to lift restrictions from a user. Returns True on success.
| Param | Type | Description |
| --- | --- | --- |
| chatId | Number
| String
| Unique identifier for the target chat or username of the target supergroup |
-| userId | String
| Unique identifier of the target user |
+| userId | Number
| Unique identifier of the target user |
| [options] | Object
| Additional Telegram query options |
@@ -492,7 +492,7 @@ Returns True on success.
| Param | Type | Description |
| --- | --- | --- |
| chatId | Number
| String
| Unique identifier for the target chat or username of the target supergroup |
-| userId | String
| |
+| userId | Number
| |
| [options] | Object
| Additional Telegram query options |
@@ -683,7 +683,7 @@ that is being deprecated.
| Param | Type | Description |
| --- | --- | --- |
-| userId | Number
| String
| Unique identifier of the target user |
+| userId | Number
| Unique identifier of the target user |
| [options] | Object
| Additional Telegram query options |
@@ -885,7 +885,7 @@ Use this method to get information about a member of a chat.
| Param | Type | Description |
| --- | --- | --- |
| chatId | Number
| String
| Unique identifier for the target group or username of the target supergroup |
-| userId | String
| Unique identifier of the target user |
+| userId | Number
| Unique identifier of the target user |
@@ -923,7 +923,7 @@ Use this method to set the score of the specified user in a game.
| Param | Type | Description |
| --- | --- | --- |
-| userId | String
| Unique identifier of the target user |
+| userId | Number
| Unique identifier of the target user |
| score | Number
| New score value. |
| [options] | Object
| Additional Telegram query options |
@@ -937,7 +937,7 @@ Use this method to get data for high score table.
| Param | Type | Description |
| --- | --- | --- |
-| userId | String
| Unique identifier of the target user |
+| userId | Number
| Unique identifier of the target user |
| [options] | Object
| Additional Telegram query options |
@@ -950,7 +950,7 @@ Use this method to delete a message.
| Param | Type | Description |
| --- | --- | --- |
-| chatId | String
| Unique identifier of the target chat |
+| chatId | Number
| String
| Unique identifier of the target chat |
| messageId | String
| Unique identifier of the target message |
| [options] | Object
| Additional Telegram query options |
diff --git a/src/telegram.js b/src/telegram.js
index 695abde..98c3323 100644
--- a/src/telegram.js
+++ b/src/telegram.js
@@ -861,7 +861,7 @@ class TelegramBot extends EventEmitter {
* Returns True on success.
*
* @param {Number|String} chatId Unique identifier for the target group or username of the target supergroup
- * @param {String} userId Unique identifier of the target user
+ * @param {Number} userId Unique identifier of the target user
* @return {Promise}
* @see https://core.telegram.org/bots/api#kickchatmember
*/
@@ -880,7 +880,7 @@ class TelegramBot extends EventEmitter {
* the group for this to work. Returns True on success.
*
* @param {Number|String} chatId Unique identifier for the target group or username of the target supergroup
- * @param {String} userId Unique identifier of the target user
+ * @param {Number} userId Unique identifier of the target user
* @return {Promise}
* @see https://core.telegram.org/bots/api#unbanchatmember
*/
@@ -899,7 +899,7 @@ class TelegramBot extends EventEmitter {
* to lift restrictions from a user. Returns True on success.
*
* @param {Number|String} chatId Unique identifier for the target chat or username of the target supergroup
- * @param {String} userId Unique identifier of the target user
+ * @param {Number} userId Unique identifier of the target user
* @param {Object} [options] Additional Telegram query options
* @return {Promise}
* @see https://core.telegram.org/bots/api#restrictchatmember
@@ -917,7 +917,7 @@ class TelegramBot extends EventEmitter {
* Returns True on success.
*
* @param {Number|String} chatId Unique identifier for the target chat or username of the target supergroup
- * @param {String} userId
+ * @param {Number} userId
* @param {Object} [options] Additional Telegram query options
* @return {Promise}
* @see https://core.telegram.org/bots/api#promotechatmember
@@ -1145,7 +1145,7 @@ class TelegramBot extends EventEmitter {
* This method has an [older, compatible signature][getUserProfilePhotos-v0.25.0]
* that is being deprecated.
*
- * @param {Number|String} userId Unique identifier of the target user
+ * @param {Number} userId Unique identifier of the target user
* @param {Object} [options] Additional Telegram query options
* @return {Promise}
* @see https://core.telegram.org/bots/api#getuserprofilephotos
@@ -1389,7 +1389,7 @@ class TelegramBot extends EventEmitter {
/**
* Use this method to get information about a member of a chat.
* @param {Number|String} chatId Unique identifier for the target group or username of the target supergroup
- * @param {String} userId Unique identifier of the target user
+ * @param {Number} userId Unique identifier of the target user
* @return {Promise}
* @see https://core.telegram.org/bots/api#getchatmember
*/
@@ -1430,7 +1430,7 @@ class TelegramBot extends EventEmitter {
/**
* Use this method to set the score of the specified user in a game.
- * @param {String} userId Unique identifier of the target user
+ * @param {Number} userId Unique identifier of the target user
* @param {Number} score New score value.
* @param {Object} [options] Additional Telegram query options
* @return {Promise}
@@ -1444,7 +1444,7 @@ class TelegramBot extends EventEmitter {
/**
* Use this method to get data for high score table.
- * @param {String} userId Unique identifier of the target user
+ * @param {Number} userId Unique identifier of the target user
* @param {Object} [options] Additional Telegram query options
* @return {Promise}
* @see https://core.telegram.org/bots/api#getgamehighscores
@@ -1456,7 +1456,7 @@ class TelegramBot extends EventEmitter {
/**
* Use this method to delete a message.
- * @param {String} chatId Unique identifier of the target chat
+ * @param {Number|String} chatId Unique identifier of the target chat
* @param {String} messageId Unique identifier of the target message
* @param {Object} [options] Additional Telegram query options
* @return {Promise}