How do you usually? I usually do ``` fun init(){...
# getting-started
f
How do you usually? I usually do
Copy code
fun init(){
        if(media == null && txt == null) throw ResponseMustHaveATextOrAMediaException()
    }

    class ResponseMustHaveATextOrAMediaException() : RuntimeException(“Response must have a text or a media”)