When an ACME interaction occurs and a client signals that the potential new subscriber has agreed to the current Let’s Encrypt subscriber agreement, it must be true that the potential new subscriber has been given a chance to review the subscriber agreement and has explicitly agreed to be bound by its terms. The potential new subscriber’s review of the subscriber agreement can be done inside or outside or the client software, but the client must obtain confirmation from the potential new subscriber that he/she has reviewed and explicitly agrees to the subscriber agreement before the client software signals agreement. If the client signals agreement without receiving this confirmation, then the client is behaving improperly and the resulting certificate may be revoked.
If you are only providing a library then you’re probably not directly responsible for making sure this happens, it’s up to the client software using your library.