행에 표시되는 Chip 객체 집합을 보유하며 다음 줄로 래핑하여 가로로 스크롤할 수 있습니다.
Google Chat 앱에서 사용할 수 있습니다. Google Workspace 부가기능 개발자 프리뷰
const chip = CardService.newChip(); // Finish building the text chip... const chipList = CardService.newChipList() .setLayout(CardService.ChipListLayout.WRAPPED) .addChip(chip);
메서드
| 메서드 | 반환 유형 | 간략한 설명 | 
|---|---|---|
| add | Chip | 칩을 추가합니다. | 
| set | Chip | 칩 목록 레이아웃을 설정합니다. | 
자세한 문서
set
칩 목록 레이아웃을 설정합니다. 설정하지 않으면 기본값은 Chip 레이아웃입니다.
const chip = CardService.newChip(); // Finish building the text chip... const chipList = CardService.newChipList() .setLayout(CardService.ChipListLayout.HORIZONTAL_SCROLLABLE) .addChip(chip);
매개변수
| 이름 | 유형 | 설명 | 
|---|---|---|
| layout | Chip | 칩 목록 레이아웃 | 
리턴
Chip: 연결을 위한 객체입니다.