(idText: string)
| 248 | |
| 249 | function getPeerRawId(peer: any): string | null { |
| 250 | if (!peer) return null; |
| 251 | if (peer.userId !== undefined && peer.userId !== null) { |
| 252 | return peer.userId.toString(); |
| 253 | } |
| 254 | if (peer.channelId !== undefined && peer.channelId !== null) { |
| 255 | return peer.channelId.toString(); |
| 256 | } |
| 257 | if (peer.chatId !== undefined && peer.chatId !== null) { |
no outgoing calls
no test coverage detected