package com.discord.gateway; import c.d.b.a.a; import com.discord.gateway.GatewaySocket; import com.discord.gateway.io.Outgoing; import com.discord.gateway.io.OutgoingPayload; import com.discord.gateway.opcodes.Opcode; import com.discord.utilities.logging.Logger; import d0.z.d.o; import kotlin.Unit; import kotlin.jvm.functions.Function0; /* compiled from: GatewaySocket.kt */ public final class GatewaySocket$streamWatch$1 extends o implements Function0 { public final /* synthetic */ String $streamKey; public final /* synthetic */ GatewaySocket this$0; /* JADX INFO: super call moved to the top of the method (can break code semantics) */ public GatewaySocket$streamWatch$1(GatewaySocket gatewaySocket, String str) { super(0); this.this$0 = gatewaySocket; this.$streamKey = str; } @Override // kotlin.jvm.functions.Function0 /* renamed from: invoke */ public final void mo1invoke() { GatewaySocket.Companion companion = GatewaySocket.Companion; Logger access$getLogger$p = GatewaySocket.access$getLogger$p(this.this$0); StringBuilder K = a.K("Sending STREAM_WATCH: "); K.append(this.$streamKey); GatewaySocket.Companion.log$default(companion, access$getLogger$p, K.toString(), false, 2, null); GatewaySocket.send$default(this.this$0, new Outgoing(Opcode.STREAM_WATCH, new OutgoingPayload.WatchStream(this.$streamKey)), false, null, 6, null); } }