@@ -174,9 +174,9 @@ public async Task<string> SendAsync(
174174 /// method, this is a significantly more efficient way to send multiple messages.
175175 /// </summary>
176176 /// <param name="messages">Up to 100 messages to send in the batch. Cannot be null.</param>
177- /// <returns>A <see cref="SendResponse "/> containing details of the batch operation's
177+ /// <returns>A <see cref="BatchResponse "/> containing details of the batch operation's
178178 /// outcome.</returns>
179- public async Task < SendResponse > SendAllAsync ( IEnumerable < Message > messages )
179+ public async Task < BatchResponse > SendAllAsync ( IEnumerable < Message > messages )
180180 {
181181 return await this . SendAllAsync ( messages , false ) ;
182182 }
@@ -189,9 +189,9 @@ public async Task<SendResponse> SendAllAsync(IEnumerable<Message> messages)
189189 /// <param name="messages">Up to 100 messages to send in the batch. Cannot be null.</param>
190190 /// <param name="cancellationToken">A cancellation token to monitor the asynchronous
191191 /// operation.</param>
192- /// <returns>A <see cref="SendResponse "/> containing details of the batch operation's
192+ /// <returns>A <see cref="BatchResponse "/> containing details of the batch operation's
193193 /// outcome.</returns>
194- public async Task < SendResponse > SendAllAsync ( IEnumerable < Message > messages , CancellationToken cancellationToken )
194+ public async Task < BatchResponse > SendAllAsync ( IEnumerable < Message > messages , CancellationToken cancellationToken )
195195 {
196196 return await this . SendAllAsync ( messages , false , cancellationToken ) ;
197197 }
@@ -205,9 +205,9 @@ public async Task<SendResponse> SendAllAsync(IEnumerable<Message> messages, Canc
205205 /// <param name="dryRun">A boolean indicating whether to perform a dry run (validation
206206 /// only) of the send. If set to true, the message will be sent to the FCM backend service,
207207 /// but it will not be delivered to any actual recipients.</param>
208- /// <returns>A <see cref="SendResponse "/> containing details of the batch operation's
208+ /// <returns>A <see cref="BatchResponse "/> containing details of the batch operation's
209209 /// outcome.</returns>
210- public async Task < SendResponse > SendAllAsync ( IEnumerable < Message > messages , bool dryRun )
210+ public async Task < BatchResponse > SendAllAsync ( IEnumerable < Message > messages , bool dryRun )
211211 {
212212 return await this . SendAllAsync ( messages , dryRun , default ) ;
213213 }
@@ -223,9 +223,9 @@ public async Task<SendResponse> SendAllAsync(IEnumerable<Message> messages, bool
223223 /// but it will not be delivered to any actual recipients.</param>
224224 /// <param name="cancellationToken">A cancellation token to monitor the asynchronous
225225 /// operation.</param>
226- /// <returns>A <see cref="SendResponse "/> containing details of the batch operation's
226+ /// <returns>A <see cref="BatchResponse "/> containing details of the batch operation's
227227 /// outcome.</returns>
228- public async Task < SendResponse > SendAllAsync ( IEnumerable < Message > messages , bool dryRun , CancellationToken cancellationToken )
228+ public async Task < BatchResponse > SendAllAsync ( IEnumerable < Message > messages , bool dryRun , CancellationToken cancellationToken )
229229 {
230230 return await this . messagingClient . SendAllAsync ( messages , dryRun , cancellationToken ) ;
231231 }
@@ -234,8 +234,9 @@ public async Task<SendResponse> SendAllAsync(IEnumerable<Message> messages, bool
234234 /// Sends the given multicast message to all the FCM registration tokens specified in it.
235235 /// </summary>
236236 /// <param name="message">The message to be sent. Must not be null.</param>
237- /// <returns>A task that completes with message ID strings.</returns>
238- public async Task < SendResponse > SendMulticastAsync ( MulticastMessage message )
237+ /// <returns>A <see cref="BatchResponse"/> containing details of the batch operation's
238+ /// outcome.</returns>
239+ public async Task < BatchResponse > SendMulticastAsync ( MulticastMessage message )
239240 {
240241 return await this . SendMulticastAsync ( message , false ) ;
241242 }
@@ -246,8 +247,9 @@ public async Task<SendResponse> SendMulticastAsync(MulticastMessage message)
246247 /// <param name="message">The message to be sent. Must not be null.</param>
247248 /// <param name="cancellationToken">A cancellation token to monitor the asynchronous
248249 /// operation.</param>
249- /// <returns>A task that completes with message ID strings.</returns>
250- public async Task < SendResponse > SendMulticastAsync ( MulticastMessage message , CancellationToken cancellationToken )
250+ /// <returns>A <see cref="BatchResponse"/> containing details of the batch operation's
251+ /// outcome.</returns>
252+ public async Task < BatchResponse > SendMulticastAsync ( MulticastMessage message , CancellationToken cancellationToken )
251253 {
252254 return await this . SendMulticastAsync ( message , false , cancellationToken ) ;
253255 }
@@ -263,8 +265,9 @@ public async Task<SendResponse> SendMulticastAsync(MulticastMessage message, Can
263265 /// <param name="dryRun">A boolean indicating whether to perform a dry run (validation
264266 /// only) of the send. If set to true, the message will be sent to the FCM backend service,
265267 /// but it will not be delivered to any actual recipients.</param>
266- /// <returns>A task that completes with message ID strings.</returns>
267- public async Task < SendResponse > SendMulticastAsync ( MulticastMessage message , bool dryRun )
268+ /// <returns>A <see cref="BatchResponse"/> containing details of the batch operation's
269+ /// outcome.</returns>
270+ public async Task < BatchResponse > SendMulticastAsync ( MulticastMessage message , bool dryRun )
268271 {
269272 return await this . SendMulticastAsync ( message , dryRun , default ) ;
270273 }
@@ -282,8 +285,9 @@ public async Task<SendResponse> SendMulticastAsync(MulticastMessage message, boo
282285 /// but it will not be delivered to any actual recipients.</param>
283286 /// <param name="cancellationToken">A cancellation token to monitor the asynchronous
284287 /// operation.</param>
285- /// <returns>A task that completes with message ID strings.</returns>
286- public async Task < SendResponse > SendMulticastAsync (
288+ /// <returns>A <see cref="BatchResponse"/> containing details of the batch operation's
289+ /// outcome.</returns>
290+ public async Task < BatchResponse > SendMulticastAsync (
287291 MulticastMessage message , bool dryRun , CancellationToken cancellationToken )
288292 {
289293 return await this . SendAllAsync (
0 commit comments