Skip to content

Commit 52850b1

Browse files
github-actions[bot]github-actions
andauthored
Codes are generated by openapi (#934)
line/line-openapi#65 In the Messaging API, we've added the following values as conditions for filtering the age range of recipients in the [demographic filter objects](https://developers.line.biz/en/reference/messaging-api/#narrowcast-demographic-filter) of [narrowcast messages](https://developers.line.biz/en/reference/messaging-api/#send-narrowcast-message): - `age_55` - `age_60` - `age_65` - `age_70` Until now, the upper limit was `age_50`, so it wasn't possible to filter ages over 50 in detail. By specifying the added age ranges, you can now filter recipients more flexibly than before. For example, the following is a demographic filter object that filters by age 50 and older but less than 60: ```json { "type": "age", "gte": "age_50", "lt": "age_60" } ``` news: https://developers.line.biz/en/news/2024/08/26/age-filter-subdivision/ Co-authored-by: github-actions <github-actions@github.com>
1 parent 4a53f92 commit 52850b1

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

lib/messaging-api/model/ageDemographic.ts

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,4 +18,8 @@ export type AgeDemographic =
1818
| "age_35"
1919
| "age_40"
2020
| "age_45"
21-
| "age_50";
21+
| "age_50"
22+
| "age_55"
23+
| "age_60"
24+
| "age_65"
25+
| "age_70";

0 commit comments

Comments
 (0)