2021-06-27 20:44:35 +00:00
|
|
|
package com.discord.stores;
|
|
|
|
|
|
|
|
import com.airbnb.lottie.parser.AnimatableValueParser;
|
|
|
|
import com.discord.api.channel.Channel;
|
|
|
|
import d0.z.d.m;
|
|
|
|
import d0.z.d.o;
|
|
|
|
import kotlin.jvm.functions.Function1;
|
|
|
|
/* compiled from: StoreStageChannels.kt */
|
|
|
|
public final class StoreStageChannels$stageChannelIdsInGuildForDispatch$1 extends o implements Function1<Channel, Long> {
|
|
|
|
public static final StoreStageChannels$stageChannelIdsInGuildForDispatch$1 INSTANCE = new StoreStageChannels$stageChannelIdsInGuildForDispatch$1();
|
|
|
|
|
|
|
|
public StoreStageChannels$stageChannelIdsInGuildForDispatch$1() {
|
|
|
|
super(1);
|
|
|
|
}
|
|
|
|
|
|
|
|
public final Long invoke(Channel channel) {
|
|
|
|
m.checkNotNullParameter(channel, "channel");
|
2021-07-03 23:36:06 +00:00
|
|
|
Long valueOf = Long.valueOf(channel.h());
|
2021-06-27 20:44:35 +00:00
|
|
|
valueOf.longValue();
|
2021-07-03 23:36:06 +00:00
|
|
|
if (AnimatableValueParser.v1(channel)) {
|
2021-06-27 20:44:35 +00:00
|
|
|
return valueOf;
|
|
|
|
}
|
|
|
|
return null;
|
|
|
|
}
|
|
|
|
}
|