2020-05-17 12:40:10 +00:00
|
|
|
.class public final Lcom/discord/stores/StoreMessages$sendMessage$request$1;
|
2020-09-02 04:07:20 +00:00
|
|
|
.super Lk0/o/c/j;
|
2020-05-17 12:40:10 +00:00
|
|
|
.source "StoreMessages.kt"
|
|
|
|
|
|
|
|
# interfaces
|
|
|
|
.implements Lkotlin/jvm/functions/Function1;
|
|
|
|
|
|
|
|
|
|
|
|
# annotations
|
|
|
|
.annotation system Ldalvik/annotation/EnclosingMethod;
|
2020-08-20 22:29:33 +00:00
|
|
|
value = Lcom/discord/stores/StoreMessages;->sendMessage(JLcom/discord/models/domain/ModelUser;Ljava/lang/String;Ljava/util/List;Ljava/util/List;Lcom/discord/models/domain/ModelApplication;Lcom/discord/models/domain/activity/ModelActivity;Lcom/discord/models/domain/ModelMessage$Activity;Ljava/lang/Long;Ljava/lang/Long;Ljava/lang/Integer;)Lrx/Observable;
|
2020-05-17 12:40:10 +00:00
|
|
|
.end annotation
|
|
|
|
|
|
|
|
.annotation system Ldalvik/annotation/InnerClass;
|
|
|
|
accessFlags = 0x19
|
|
|
|
name = null
|
|
|
|
.end annotation
|
|
|
|
|
|
|
|
.annotation system Ldalvik/annotation/Signature;
|
|
|
|
value = {
|
2020-09-02 04:07:20 +00:00
|
|
|
"Lk0/o/c/j;",
|
2020-05-17 12:40:10 +00:00
|
|
|
"Lkotlin/jvm/functions/Function1<",
|
|
|
|
"Lrx/Emitter<",
|
|
|
|
"Lcom/discord/utilities/messagesend/MessageResult;",
|
|
|
|
">;",
|
|
|
|
"Lcom/discord/utilities/messagesend/MessageRequest$Send;",
|
|
|
|
">;"
|
|
|
|
}
|
|
|
|
.end annotation
|
|
|
|
|
|
|
|
|
|
|
|
# instance fields
|
|
|
|
.field public final synthetic $activity:Lcom/discord/models/domain/activity/ModelActivity;
|
|
|
|
|
2020-08-20 22:29:33 +00:00
|
|
|
.field public final synthetic $attemptTimestamp:J
|
|
|
|
|
2020-08-08 02:55:33 +00:00
|
|
|
.field public final synthetic $localMessage:Lcom/discord/models/domain/ModelMessage;
|
2020-08-08 01:54:49 +00:00
|
|
|
|
2020-08-10 21:02:22 +00:00
|
|
|
.field public final synthetic $validAttachments:Lkotlin/jvm/internal/Ref$ObjectRef;
|
|
|
|
|
2020-05-17 12:40:10 +00:00
|
|
|
.field public final synthetic this$0:Lcom/discord/stores/StoreMessages;
|
|
|
|
|
|
|
|
|
|
|
|
# direct methods
|
2020-08-20 22:29:33 +00:00
|
|
|
.method public constructor <init>(Lcom/discord/stores/StoreMessages;Lcom/discord/models/domain/ModelMessage;Lkotlin/jvm/internal/Ref$ObjectRef;Lcom/discord/models/domain/activity/ModelActivity;J)V
|
2020-05-17 12:40:10 +00:00
|
|
|
.locals 0
|
|
|
|
|
|
|
|
iput-object p1, p0, Lcom/discord/stores/StoreMessages$sendMessage$request$1;->this$0:Lcom/discord/stores/StoreMessages;
|
|
|
|
|
|
|
|
iput-object p2, p0, Lcom/discord/stores/StoreMessages$sendMessage$request$1;->$localMessage:Lcom/discord/models/domain/ModelMessage;
|
|
|
|
|
2020-08-10 21:02:22 +00:00
|
|
|
iput-object p3, p0, Lcom/discord/stores/StoreMessages$sendMessage$request$1;->$validAttachments:Lkotlin/jvm/internal/Ref$ObjectRef;
|
2020-05-17 12:40:10 +00:00
|
|
|
|
|
|
|
iput-object p4, p0, Lcom/discord/stores/StoreMessages$sendMessage$request$1;->$activity:Lcom/discord/models/domain/activity/ModelActivity;
|
|
|
|
|
2020-08-20 22:29:33 +00:00
|
|
|
iput-wide p5, p0, Lcom/discord/stores/StoreMessages$sendMessage$request$1;->$attemptTimestamp:J
|
|
|
|
|
2020-05-17 12:40:10 +00:00
|
|
|
const/4 p1, 0x1
|
|
|
|
|
2020-09-02 04:07:20 +00:00
|
|
|
invoke-direct {p0, p1}, Lk0/o/c/j;-><init>(I)V
|
2020-05-17 12:40:10 +00:00
|
|
|
|
|
|
|
return-void
|
|
|
|
.end method
|
|
|
|
|
|
|
|
|
|
|
|
# virtual methods
|
|
|
|
.method public final invoke(Lrx/Emitter;)Lcom/discord/utilities/messagesend/MessageRequest$Send;
|
2020-08-20 22:29:33 +00:00
|
|
|
.locals 10
|
2020-05-17 12:40:10 +00:00
|
|
|
.annotation system Ldalvik/annotation/Signature;
|
|
|
|
value = {
|
|
|
|
"(",
|
|
|
|
"Lrx/Emitter<",
|
|
|
|
"Lcom/discord/utilities/messagesend/MessageResult;",
|
|
|
|
">;)",
|
|
|
|
"Lcom/discord/utilities/messagesend/MessageRequest$Send;"
|
|
|
|
}
|
|
|
|
.end annotation
|
|
|
|
|
2020-09-02 04:07:20 +00:00
|
|
|
const-string v0, "emitter"
|
2020-05-17 12:40:10 +00:00
|
|
|
|
2020-09-02 04:07:20 +00:00
|
|
|
invoke-static {p1, v0}, Lk0/o/c/i;->checkNotNullParameter(Ljava/lang/Object;Ljava/lang/String;)V
|
2020-05-17 12:40:10 +00:00
|
|
|
|
2020-09-02 04:07:20 +00:00
|
|
|
new-instance v0, Lcom/discord/utilities/messagesend/MessageRequest$Send;
|
2020-05-17 12:40:10 +00:00
|
|
|
|
2020-09-02 04:07:20 +00:00
|
|
|
iget-object v2, p0, Lcom/discord/stores/StoreMessages$sendMessage$request$1;->$localMessage:Lcom/discord/models/domain/ModelMessage;
|
2020-05-17 12:40:10 +00:00
|
|
|
|
2020-09-02 04:07:20 +00:00
|
|
|
const-string v1, "localMessage"
|
2020-05-17 12:40:10 +00:00
|
|
|
|
2020-09-02 04:07:20 +00:00
|
|
|
invoke-static {v2, v1}, Lk0/o/c/i;->checkNotNullExpressionValue(Ljava/lang/Object;Ljava/lang/String;)V
|
2020-08-10 21:02:22 +00:00
|
|
|
|
2020-09-02 04:07:20 +00:00
|
|
|
iget-object v1, p0, Lcom/discord/stores/StoreMessages$sendMessage$request$1;->$validAttachments:Lkotlin/jvm/internal/Ref$ObjectRef;
|
2020-08-10 21:02:22 +00:00
|
|
|
|
2020-09-02 04:07:20 +00:00
|
|
|
iget-object v1, v1, Lkotlin/jvm/internal/Ref$ObjectRef;->element:Ljava/lang/Object;
|
2020-08-10 21:02:22 +00:00
|
|
|
|
2020-09-02 04:07:20 +00:00
|
|
|
move-object v4, v1
|
2020-05-17 12:40:10 +00:00
|
|
|
|
2020-09-02 04:07:20 +00:00
|
|
|
check-cast v4, Ljava/util/List;
|
2020-05-17 12:40:10 +00:00
|
|
|
|
2020-09-02 04:07:20 +00:00
|
|
|
iget-object v3, p0, Lcom/discord/stores/StoreMessages$sendMessage$request$1;->$activity:Lcom/discord/models/domain/activity/ModelActivity;
|
2020-08-20 22:29:33 +00:00
|
|
|
|
2020-09-02 04:07:20 +00:00
|
|
|
iget-wide v8, p0, Lcom/discord/stores/StoreMessages$sendMessage$request$1;->$attemptTimestamp:J
|
2020-05-17 12:40:10 +00:00
|
|
|
|
2020-09-02 04:07:20 +00:00
|
|
|
new-instance v5, Lcom/discord/stores/StoreMessages$sendMessage$request$1$1;
|
2020-05-17 12:40:10 +00:00
|
|
|
|
2020-09-02 04:07:20 +00:00
|
|
|
invoke-direct {v5, p0, p1}, Lcom/discord/stores/StoreMessages$sendMessage$request$1$1;-><init>(Lcom/discord/stores/StoreMessages$sendMessage$request$1;Lrx/Emitter;)V
|
2020-05-17 12:40:10 +00:00
|
|
|
|
2020-09-02 04:07:20 +00:00
|
|
|
new-instance v6, Lcom/discord/stores/StoreMessages$sendMessage$request$1$2;
|
2020-05-17 12:40:10 +00:00
|
|
|
|
2020-09-02 04:07:20 +00:00
|
|
|
invoke-direct {v6, p0}, Lcom/discord/stores/StoreMessages$sendMessage$request$1$2;-><init>(Lcom/discord/stores/StoreMessages$sendMessage$request$1;)V
|
2020-05-17 12:40:10 +00:00
|
|
|
|
2020-09-02 04:07:20 +00:00
|
|
|
new-instance v7, Lcom/discord/stores/StoreMessages$sendMessage$request$1$3;
|
2020-05-17 12:40:10 +00:00
|
|
|
|
2020-09-02 04:07:20 +00:00
|
|
|
invoke-direct {v7, p0}, Lcom/discord/stores/StoreMessages$sendMessage$request$1$3;-><init>(Lcom/discord/stores/StoreMessages$sendMessage$request$1;)V
|
2020-05-17 12:40:10 +00:00
|
|
|
|
2020-09-02 04:07:20 +00:00
|
|
|
move-object v1, v0
|
2020-05-17 12:40:10 +00:00
|
|
|
|
2020-09-02 04:07:20 +00:00
|
|
|
invoke-direct/range {v1 .. v9}, Lcom/discord/utilities/messagesend/MessageRequest$Send;-><init>(Lcom/discord/models/domain/ModelMessage;Lcom/discord/models/domain/activity/ModelActivity;Ljava/util/List;Lkotlin/jvm/functions/Function2;Lkotlin/jvm/functions/Function1;Lkotlin/jvm/functions/Function1;J)V
|
2020-05-17 12:40:10 +00:00
|
|
|
|
2020-09-02 04:07:20 +00:00
|
|
|
return-object v0
|
2020-05-17 12:40:10 +00:00
|
|
|
.end method
|
|
|
|
|
|
|
|
.method public bridge synthetic invoke(Ljava/lang/Object;)Ljava/lang/Object;
|
|
|
|
.locals 0
|
|
|
|
|
|
|
|
check-cast p1, Lrx/Emitter;
|
|
|
|
|
|
|
|
invoke-virtual {p0, p1}, Lcom/discord/stores/StoreMessages$sendMessage$request$1;->invoke(Lrx/Emitter;)Lcom/discord/utilities/messagesend/MessageRequest$Send;
|
|
|
|
|
|
|
|
move-result-object p1
|
|
|
|
|
|
|
|
return-object p1
|
|
|
|
.end method
|