Skip to content

Commit

Permalink
Add userId to group and room event sources
Browse files Browse the repository at this point in the history
  • Loading branch information
Hyunje Jun committed May 31, 2017
1 parent 10bb35e commit bc009e6
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions types/global.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -36,8 +36,8 @@ declare namespace Line {
export type EventSource = User | Group | Room;

export type User = Typed & { userId: string };
export type Group = Typed & { groupId: string };
export type Room = Typed & { roomId: string };
export type Group = Typed & { groupId: string, userId?: string };
export type Room = Typed & { roomId: string, userId?: string };

export type ReplyableEvent = EventBase & { replyToken: string };

Expand Down

0 comments on commit bc009e6

Please sign in to comment.