Add pm_oneside parameter in pin_message (#3095)

This commit is contained in:
Shrimadhav U K
2021-07-09 23:20:47 +05:30
committed by GitHub
parent 7763939e7d
commit ecfc6ae87d
4 changed files with 14 additions and 6 deletions

View File

@@ -27,6 +27,7 @@ BANK_CARD_NUMBER_INVALID,400,Incorrect credit card number
BASE_PORT_LOC_INVALID,400,Base port location invalid
BANNED_RIGHTS_INVALID,400,"You cannot use that set of permissions in this request, i.e. restricting view_messages as a default"
BOTS_TOO_MUCH,400,There are too many bots in this chat/channel
BOT_ONESIDE_NOT_AVAIL,400,
BOT_CHANNELS_NA,400,Bots can't edit admin privileges
BOT_COMMAND_DESCRIPTION_INVALID,400,"The command description was empty, too long or had invalid characters used"
BOT_COMMAND_INVALID,400,
1 name codes description
27 BASE_PORT_LOC_INVALID 400 Base port location invalid
28 BANNED_RIGHTS_INVALID 400 You cannot use that set of permissions in this request, i.e. restricting view_messages as a default
29 BOTS_TOO_MUCH 400 There are too many bots in this chat/channel
30 BOT_ONESIDE_NOT_AVAIL 400
31 BOT_CHANNELS_NA 400 Bots can't edit admin privileges
32 BOT_COMMAND_DESCRIPTION_INVALID 400 The command description was empty, too long or had invalid characters used
33 BOT_COMMAND_INVALID 400

View File

@@ -296,7 +296,7 @@ messages.toggleStickerSets,user,
messages.uninstallStickerSet,user,STICKERSET_INVALID
messages.updateDialogFilter,user,
messages.updateDialogFiltersOrder,user,
messages.updatePinnedMessage,both,
messages.updatePinnedMessage,both,BOT_ONESIDE_NOT_AVAIL
messages.uploadEncryptedFile,user,
messages.uploadMedia,both,BOT_MISSING MEDIA_INVALID PEER_ID_INVALID
payments.clearSavedInfo,user,
1 method usability errors
296 messages.uninstallStickerSet user STICKERSET_INVALID
297 messages.updateDialogFilter user
298 messages.updateDialogFiltersOrder user
299 messages.updatePinnedMessage both BOT_ONESIDE_NOT_AVAIL
300 messages.uploadEncryptedFile user
301 messages.uploadMedia both BOT_MISSING MEDIA_INVALID PEER_ID_INVALID
302 payments.clearSavedInfo user