Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 4 additions & 2 deletions call.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 1 addition & 0 deletions chat.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

16 changes: 0 additions & 16 deletions chat_test.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

44 changes: 22 additions & 22 deletions client_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -69,35 +69,35 @@ func setup(t *testing.T, rm *ResourceManager, createCallType bool) (*Stream, *Ca
},
}

notificationSettings := &NotificationSettings{
Enabled: true,
CallNotification: EventNotificationSettings{
APNS: APNS{
Title: "{{ user.display_name }} invites you to a call",
Body: "",
notificationSettings := &NotificationSettingsRequest{
Enabled: PtrTo(true),
CallNotification: &EventNotificationSettingsRequest{
APNS: &APNSPayload{
Title: PtrTo("{{ user.display_name }} invites you to a call"),
Body: PtrTo(""),
},
Enabled: true,
Enabled: PtrTo(true),
},
SessionStarted: EventNotificationSettings{
APNS: APNS{
Body: "",
Title: "{{ user.display_name }} invites you to a call",
SessionStarted: &EventNotificationSettingsRequest{
APNS: &APNSPayload{
Body: PtrTo(""),
Title: PtrTo("{{ user.display_name }} invites you to a call"),
},
Enabled: false,
Enabled: PtrTo(false),
},
CallLiveStarted: EventNotificationSettings{
APNS: APNS{
Body: "",
Title: "{{ user.display_name }} invites you to a call",
CallLiveStarted: &EventNotificationSettingsRequest{
APNS: &APNSPayload{
Body: PtrTo(""),
Title: PtrTo("{{ user.display_name }} invites you to a call"),
},
Enabled: false,
Enabled: PtrTo(false),
},
CallRing: EventNotificationSettings{
APNS: APNS{
Body: "",
Title: "{{ user.display_name }} invites you to a call",
CallRing: &EventNotificationSettingsRequest{
APNS: &APNSPayload{
Body: PtrTo(""),
Title: PtrTo("{{ user.display_name }} invites you to a call"),
},
Enabled: false,
Enabled: PtrTo(false),
},
}

Expand Down
17 changes: 0 additions & 17 deletions common_test.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

19 changes: 13 additions & 6 deletions feeds-v3.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 1 addition & 0 deletions feeds.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

11 changes: 9 additions & 2 deletions feeds_test.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading