async def _add_request_coro(self, amount_sat: Optional[int], message, expiry: int) -> str:
    amount_msat = ((amount_sat * 1000) if (amount_sat is not None) else None)
    (lnaddr, invoice) = (await self.create_invoice(amount_msat=amount_msat, message=message, expiry=expiry))
    key = bh2u(lnaddr.paymenthash)
    req = LNInvoice.from_bech32(invoice)
    self.wallet.add_payment_request(req)
    self.wallet.set_label(key, message)
    return key
async def _add_request_coro(self, amount_sat: Optional[int], message, expiry: int) -> str:
    amount_msat = ((amount_sat * 1000) if (amount_sat is not None) else None)
    (lnaddr, invoice) = (await self.create_invoice(amount_msat=amount_msat, message=message, expiry=expiry))
    key = bh2u(lnaddr.paymenthash)
    req = LNInvoice.from_bech32(invoice)
    self.wallet.add_payment_request(req)
    self.wallet.set_label(key, message)
    return key