21 lines
858 B
Java
21 lines
858 B
Java
package com.discord.utilities.rest;
|
|
|
|
import com.discord.restapi.RestAPIParams;
|
|
import com.discord.utilities.rest.SendUtils;
|
|
import d0.z.d.m;
|
|
import j0.k.b;
|
|
import java.util.List;
|
|
/* compiled from: SendUtils.kt */
|
|
public final class SendUtils$getSendPayload$2<T, R> implements b<List<SendUtils.FileUpload>, SendUtils.SendPayload.ReadyToSend> {
|
|
public final /* synthetic */ RestAPIParams.Message $sanitizedApiParamMessage;
|
|
|
|
public SendUtils$getSendPayload$2(RestAPIParams.Message message) {
|
|
this.$sanitizedApiParamMessage = message;
|
|
}
|
|
|
|
public final SendUtils.SendPayload.ReadyToSend call(List<SendUtils.FileUpload> list) {
|
|
RestAPIParams.Message message = this.$sanitizedApiParamMessage;
|
|
m.checkNotNullExpressionValue(list, "attachmentParts");
|
|
return new SendUtils.SendPayload.ReadyToSend(message, list);
|
|
}
|
|
}
|