(client: any, channel: any, userEntity: any, originalRank?: string)
| 843 | adminRights: new Api.ChatAdminRights({}), |
| 844 | rank: originalRank || "", |
| 845 | }) |
| 846 | ); |
| 847 | } |
| 848 | |
| 849 | private async sendReply(job: TempAdminJob, message: string): Promise<void> { |
| 850 | const baseOptions = { |
| 851 | message, |
| 852 | parseMode: "html" as const, |
| 853 | }; |
| 854 | |
| 855 | try { |
| 856 | await job.client.sendMessage(job.peerId, { |
| 857 | ...baseOptions, |
no outgoing calls
no test coverage detected