Skip to content

Commit 26ff865

Browse files
committed
feat(command): Added new static method UN_APPROVE to Permissions class.
1 parent 1261422 commit 26ff865

1 file changed

Lines changed: 8 additions & 0 deletions

File tree

src/service/command/Permissions/index.ts

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,14 @@ export class Permissions {
1818
can_send_photos: status,
1919
};
2020
}
21+
static UN_APPROVE() {
22+
return {
23+
can_send_messages: true,
24+
can_pin_messages: false,
25+
can_send_other_messages: true,
26+
can_send_polls: false,
27+
};
28+
}
2129
static DEFAULT = {
2230
can_send_messages: true,
2331
can_send_other_messages: true,

0 commit comments

Comments
 (0)