Korea SMS Length & Ad Rules Check
v0.1.0Korean SMS/LMS byte count and ad-message display rules ((광고), opt-out, night-time) check.
These tools were reported by the server itself during our smoke test (tools/list), not copied from the README.
kr_sms_length Korean SMS/LMS byte count
Count message bytes as Korean carriers do (Korean/CJK 2 bytes, ASCII 1) and tell whether it fits SMS (90 bytes) or LMS (2,000 bytes). Flags emoji and other characters that may break in SMS.
| Parameter | Type | Description |
|---|---|---|
text * | string |
kr_ad_sms_check Check a Korean advertising text message
Check a Korean marketing text message against the display rules of the Network Act Art. 50 and Enforcement Decree Annex 6, and the night-time (21:00-08:00 KST) separate-consent rule when send_at is given. Returns each check with the legal basis.
| Parameter | Type | Description |
|---|---|---|
text * | string | |
send_at | string | Korea time HH:MM |