Skip to content

Commit aa35fac

Browse files
committed
fix(types): Make pictureUrl optional in GroupSummaryResponse
We have a case where the `pictureUrl` is not available. This commit makes the `pictureUrl` optional in the `GroupSummaryResponse` type. The documentation for the `GroupSummaryResponse` type has also proven this to be the case. See https://developers.line.biz/en/reference/messaging-api/#get-group-summary-response
1 parent 47dcab8 commit aa35fac

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/types.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2834,7 +2834,7 @@ export type VerifyIDToken = {
28342834
export type GroupSummaryResponse = {
28352835
groupId: string;
28362836
groupName: string;
2837-
pictureUrl: string;
2837+
pictureUrl?: string;
28382838
};
28392839

28402840
/**

0 commit comments

Comments
 (0)