Class ChannelFollowType
java.lang.Object
com.github.twitch4j.eventsub.subscriptions.ChannelFollowType
- All Implemented Interfaces:
SubscriptionType<ChannelFollowCondition,
ChannelFollowCondition.ChannelFollowConditionBuilder<?, ?>, ChannelFollowEvent>
@Deprecated
public class ChannelFollowType
extends Object
implements SubscriptionType<ChannelFollowCondition,ChannelFollowCondition.ChannelFollowConditionBuilder<?,?>,ChannelFollowEvent>
Deprecated.
A specified channel receives a follow.
No authorization required.
- See Also:
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionDeprecated.The parameters inside these objects differ by subscription type and may differ by version.Deprecated.getName()
Deprecated.Deprecated.Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface com.github.twitch4j.eventsub.subscriptions.SubscriptionType
getConditionClass, isBatchingEnabled, prepareSubscription
-
Constructor Details
-
ChannelFollowType
public ChannelFollowType()Deprecated.
-
-
Method Details
-
getName
Deprecated.- Specified by:
getName
in interfaceSubscriptionType<ChannelFollowCondition,
ChannelFollowCondition.ChannelFollowConditionBuilder<?, ?>, ChannelFollowEvent> - Returns:
- the subscription type name.
-
getVersion
Deprecated.- Specified by:
getVersion
in interfaceSubscriptionType<ChannelFollowCondition,
ChannelFollowCondition.ChannelFollowConditionBuilder<?, ?>, ChannelFollowEvent> - Returns:
- the subscription type version.
-
getConditionBuilder
Deprecated.Description copied from interface:SubscriptionType
The parameters inside these objects differ by subscription type and may differ by version.- Specified by:
getConditionBuilder
in interfaceSubscriptionType<ChannelFollowCondition,
ChannelFollowCondition.ChannelFollowConditionBuilder<?, ?>, ChannelFollowEvent> - Returns:
- Subscription-specific parameter builder.
-
getEventClass
Deprecated.- Specified by:
getEventClass
in interfaceSubscriptionType<ChannelFollowCondition,
ChannelFollowCondition.ChannelFollowConditionBuilder<?, ?>, ChannelFollowEvent> - Returns:
- the associated event class for this subscription type.
-
ChannelFollowTypeV2
(which has the same event data but more stringent auth).