itd-api / operationMethod
Function: operationMethod()
function operationMethod(id): OperationMethod;Defined in: domain/operations.ts:344
HTTP-метод встроенной операции.
Parameters
id
| "posts.stats" | "posts.like" | "posts.comments" | "auth.refresh" | "auth.qrClaim" | "comments.like" | "files.upload" | "files.remove" | "posts.comment" | "hashtags.trending" | "posts.repost" | "users.follow" | "verification.status" | "posts.create" | "users.updateMe" | "reports.create" | "verification.submit" | "shop.consents.record" | "shop.orders.pay" | "shop.orders.verifyAccessCode" | "shop.orders.create" | "shop.orders.requestAccessCode" | "auth.check" | "auth.captchaProvider" | "auth.captchaPage" | "account.getInfo" | "account.password.set" | "account.email.attach" | "account.phone.attach" | "account.email.startChange" | "account.phone.startChange" | "account.verifyAttach" | "account.verifyChange" | "account.email.resendOtp" | "account.phone.resendOtp" | "account.phone.sync" | "account.phone.reverseOptions" | "account.phone.reverseStart" | "account.phone.reverseStatus" | "account.phone.reverseAttachComplete" | "account.phone.reverseChangeComplete" | "account.changes.requestProof" | "account.changes.confirm" | "account.changes.wait" | "account.changes.pending" | "account.changes.cancelPending" | "account.password.change" | "account.deactivate" | "account.restore" | "auth.phone.config" | "auth.phone.consent" | "auth.phone.start" | "auth.phone.resume" | "auth.phone.verify" | "auth.phone.password" | "auth.phone.resetPassword" | "auth.phone.resend" | "auth.phone.reverseOptions" | "auth.phone.reverseStart" | "auth.phone.reverseStatus" | "auth.phone.reverseComplete" | "auth.signUp" | "auth.signIn" | "auth.verifyOtp" | "auth.resendOtp" | "auth.logout" | "auth.forgotPassword" | "auth.resetPassword" | "auth.sessions" | "auth.revokeSession" | "auth.revokeOtherSessions" | "auth.qrStart" | "auth.qrScan" | "auth.qrApprove" | "auth.qrReject" | "users.me" | "users.createProfile" | "users.get" | "users.checkUsername" | "users.whoToFollow" | "users.topClans" | "users.unfollow" | "users.followers" | "users.following" | "users.followStatus" | "users.block" | "users.unblock" | "users.blocked" | "users.getPrivacy" | "users.updatePrivacy" | "users.pins" | "users.setPin" | "users.removePin" | "posts.list" | "posts.get" | "posts.update" | "posts.remove" | "posts.restore" | "posts.unlike" | "posts.unrepost" | "posts.pin" | "posts.unpin" | "posts.vote" | "posts.byUser" | "posts.likedByUser" | "comments.replies" | "comments.reply" | "comments.update" | "comments.remove" | "comments.restore" | "comments.unlike" | "files.uploadBannerDrawing" | "notifications.list" | "notifications.count" | "notifications.markRead" | "notifications.markReadBatch" | "notifications.markAllRead" | "notifications.getSettings" | "notifications.updateSettings" | "events.notifications.poll.updates" | "events.notifications.poll.unread" | "chats.list" | "chats.get" | "chats.unread" | "chats.messages" | "chats.messagesAround" | "chats.media" | "chats.fileLinks" | "chats.upload.init" | "chats.upload.part" | "chats.upload.finalize" | "chats.presence" | "chats.presenceMany" | "chats.reactionCatalog" | "chats.reactions" | "chats.heardMessages" | "chats.updates" | "chats.createDirect" | "chats.sendMessage" | "chats.sendMessageToUser" | "chats.editMessage" | "chats.forwardMessages" | "chats.deleteMessagesForMe" | "chats.deleteMessagesForAll" | "chats.setPinned" | "chats.setMuted" | "chats.setUnread" | "chats.markRead" | "chats.acceptRequest" | "chats.markHeard" | "chats.sendAction" | "chats.clearHistory" | "chats.clearHistoryForAll" | "chats.delete" | "chats.setReactions" | "hashtags.posts" | "search.all" | "subscription.status" | "subscription.pay" | "subscription.setAutoRenewal" | "subscription.bindCard" | "subscription.methods" | "subscription.setDefaultMethod" | "subscription.removeMethod" | "platform.version" | "legal.list" | "legal.current" | "legal.versions" | "legal.version" | "platform.changelog" | "platform.announcements" | "platform.portal" | "telemetry.dwell" | "telemetry.interaction" | "shop.products.list" | "shop.products.get" | "shop.delivery.countries" | "shop.delivery.cities" | "shop.delivery.points" | "shop.delivery.calculate" | "shop.orders.list" | "shop.orders.get"