@@ -59,6 +59,7 @@ import (
5959)
6060
6161config := clientconfig.NewConfig ()
62+ config.SetAccessToken (" ACCESS_TOKEN" )
6263client := client.NewClient (config)
6364
6465channel := channels.CHANNEL_IN_APP
@@ -113,6 +114,7 @@ import (
113114)
114115
115116config := clientconfig.NewConfig ()
117+ config.SetAccessToken (" ACCESS_TOKEN" )
116118client := client.NewClient (config)
117119
118120response , err := client.Channels .FetchChannelsConfig (context.Background (), " key" )
@@ -155,6 +157,7 @@ import (
155157)
156158
157159config := clientconfig.NewConfig ()
160+ config.SetAccessToken (" ACCESS_TOKEN" )
158161client := client.NewClient (config)
159162
160163
@@ -201,6 +204,7 @@ import (
201204)
202205
203206config := clientconfig.NewConfig ()
207+ config.SetAccessToken (" ACCESS_TOKEN" )
204208client := client.NewClient (config)
205209
206210response , err := client.Channels .FetchUserInboxToken (context.Background (), " userId" , " tokenId" )
@@ -242,6 +246,7 @@ import (
242246)
243247
244248config := clientconfig.NewConfig ()
249+ config.SetAccessToken (" ACCESS_TOKEN" )
245250client := client.NewClient (config)
246251
247252response , err := client.Channels .DeleteUserInboxToken (context.Background (), " userId" , " tokenId" )
@@ -284,6 +289,7 @@ import (
284289)
285290
286291config := clientconfig.NewConfig ()
292+ config.SetAccessToken (" ACCESS_TOKEN" )
287293client := client.NewClient (config)
288294
289295
@@ -330,6 +336,7 @@ import (
330336)
331337
332338config := clientconfig.NewConfig ()
339+ config.SetAccessToken (" ACCESS_TOKEN" )
333340client := client.NewClient (config)
334341
335342response , err := client.Channels .FetchUserApnsToken (context.Background (), " userId" , " tokenId" )
@@ -371,6 +378,7 @@ import (
371378)
372379
373380config := clientconfig.NewConfig ()
381+ config.SetAccessToken (" ACCESS_TOKEN" )
374382client := client.NewClient (config)
375383
376384response , err := client.Channels .DeleteUserApnsToken (context.Background (), " userId" , " tokenId" )
@@ -413,6 +421,7 @@ import (
413421)
414422
415423config := clientconfig.NewConfig ()
424+ config.SetAccessToken (" ACCESS_TOKEN" )
416425client := client.NewClient (config)
417426
418427
@@ -459,6 +468,7 @@ import (
459468)
460469
461470config := clientconfig.NewConfig ()
471+ config.SetAccessToken (" ACCESS_TOKEN" )
462472client := client.NewClient (config)
463473
464474response , err := client.Channels .FetchUserExpoToken (context.Background (), " userId" , " tokenId" )
@@ -500,6 +510,7 @@ import (
500510)
501511
502512config := clientconfig.NewConfig ()
513+ config.SetAccessToken (" ACCESS_TOKEN" )
503514client := client.NewClient (config)
504515
505516response , err := client.Channels .DeleteUserExpoToken (context.Background (), " userId" , " tokenId" )
@@ -542,6 +553,7 @@ import (
542553)
543554
544555config := clientconfig.NewConfig ()
556+ config.SetAccessToken (" ACCESS_TOKEN" )
545557client := client.NewClient (config)
546558
547559
@@ -588,6 +600,7 @@ import (
588600)
589601
590602config := clientconfig.NewConfig ()
603+ config.SetAccessToken (" ACCESS_TOKEN" )
591604client := client.NewClient (config)
592605
593606response , err := client.Channels .FetchUserFcmToken (context.Background (), " userId" , " tokenId" )
@@ -629,6 +642,7 @@ import (
629642)
630643
631644config := clientconfig.NewConfig ()
645+ config.SetAccessToken (" ACCESS_TOKEN" )
632646client := client.NewClient (config)
633647
634648response , err := client.Channels .DeleteUserFcmToken (context.Background (), " userId" , " tokenId" )
@@ -671,6 +685,7 @@ import (
671685)
672686
673687config := clientconfig.NewConfig ()
688+ config.SetAccessToken (" ACCESS_TOKEN" )
674689client := client.NewClient (config)
675690
676691
@@ -717,6 +732,7 @@ import (
717732)
718733
719734config := clientconfig.NewConfig ()
735+ config.SetAccessToken (" ACCESS_TOKEN" )
720736client := client.NewClient (config)
721737
722738response , err := client.Channels .FetchUserSlackToken (context.Background (), " userId" , " tokenId" )
@@ -758,6 +774,7 @@ import (
758774)
759775
760776config := clientconfig.NewConfig ()
777+ config.SetAccessToken (" ACCESS_TOKEN" )
761778client := client.NewClient (config)
762779
763780response , err := client.Channels .DeleteUserSlackToken (context.Background (), " userId" , " tokenId" )
@@ -800,6 +817,7 @@ import (
800817)
801818
802819config := clientconfig.NewConfig ()
820+ config.SetAccessToken (" ACCESS_TOKEN" )
803821client := client.NewClient (config)
804822
805823
@@ -846,6 +864,7 @@ import (
846864)
847865
848866config := clientconfig.NewConfig ()
867+ config.SetAccessToken (" ACCESS_TOKEN" )
849868client := client.NewClient (config)
850869
851870response , err := client.Channels .FetchUserTeamsToken (context.Background (), " userId" , " tokenId" )
@@ -887,6 +906,7 @@ import (
887906)
888907
889908config := clientconfig.NewConfig ()
909+ config.SetAccessToken (" ACCESS_TOKEN" )
890910client := client.NewClient (config)
891911
892912response , err := client.Channels .DeleteUserTeamsToken (context.Background (), " userId" , " tokenId" )
@@ -929,6 +949,7 @@ import (
929949)
930950
931951config := clientconfig.NewConfig ()
952+ config.SetAccessToken (" ACCESS_TOKEN" )
932953client := client.NewClient (config)
933954
934955
@@ -975,6 +996,7 @@ import (
975996)
976997
977998config := clientconfig.NewConfig ()
999+ config.SetAccessToken (" ACCESS_TOKEN" )
9781000client := client.NewClient (config)
9791001
9801002response , err := client.Channels .FetchUserWebPushToken (context.Background (), " userId" , " tokenId" )
@@ -1016,6 +1038,7 @@ import (
10161038)
10171039
10181040config := clientconfig.NewConfig ()
1041+ config.SetAccessToken (" ACCESS_TOKEN" )
10191042client := client.NewClient (config)
10201043
10211044response , err := client.Channels .DeleteUserWebPushToken (context.Background (), " userId" , " tokenId" )
0 commit comments