TcgAudioEvent

@BaseEvent
sealed class TcgAudioEvent : TcgEvent<TencentAudioAction> , ChannelEvent

子频道音频事件.

See also

Types

Link copied to clipboard
abstract class Finish : TcgAudioEvent

音频播放结束时

Link copied to clipboard
object Key : BaseEventKey<TcgAudioEvent>
Link copied to clipboard
abstract class OffMic : TcgAudioEvent

下麦时

Link copied to clipboard
abstract class OnMic : TcgAudioEvent

上麦时

Link copied to clipboard
abstract class Start : TcgAudioEvent

音频开始播放时。

Functions

Link copied to clipboard
open suspend override fun channel(): TencentChannel

事件发生的频道。

Link copied to clipboard
open suspend override fun organization(): TencentChannel

事件发生的频道。同 channel.

Properties

Link copied to clipboard
abstract override val bot: TencentGuildComponentBot
Link copied to clipboard
open val channel: Channel
Link copied to clipboard
open val channelAsync: CompletableFuture<out Channel>
Link copied to clipboard
open override val component: Component
Link copied to clipboard

这个事件所对应的 EventSignals 类型。

Link copied to clipboard
abstract override val id: ID

事件ID。

Link copied to clipboard
abstract override val key: Event.Key<out TcgAudioEvent>
Link copied to clipboard
open override val organization: Channel
Link copied to clipboard
open override val organizationAsync: CompletableFuture<out Channel>
Link copied to clipboard

真正的原始事件所得到的事件实体。

Link copied to clipboard
open override val timestamp: Timestamp

接收到事件的时间。

Link copied to clipboard
open val visibleScope: Event.VisibleScope

Inheritors

Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard