channelId property

int? get channelId

Implementation

int? get channelId =>
    (channel?.last as int?) ??
    message?.payload?['channel_id'] as int? ??
    message?.payload?['id'] as int?;