(
client: TelegramClient,
target: any
)
| 270 | |
| 271 | private static async safeGetInputEntity( |
| 272 | client: TelegramClient, |
| 273 | target: any |
| 274 | ): Promise<any | undefined> { |
| 275 | try { |
| 276 | return await client.getInputEntity(target); |
| 277 | } catch { |
| 278 | return undefined; |
| 279 | } |
| 280 | } |
| 281 | |
| 282 | private static async resolveParticipantFromContext( |
| 283 | client: TelegramClient, |
| 284 | message: Api.Message, |
no outgoing calls
no test coverage detected