Skip to content

ChannelCreatedEvent created is Integer, but should be Long #1520

@richiebres

Description

@richiebres

Problem

The ChannelCreatedEvent has a created field which is an Integer, but should be Long.

This is the definition:

Please change this to Long.

Example

Here's a sample of the error we receive when deserializing JSON payloads:

j.l.NumberFormatException: Expected an int but was 1760848483374 at line 1 column 669 path $.event.channel.updated

This number is represents the number of milliseconds since epoch and large than max int.

Related

This is a duplicate of this issue, which was auto-closed due to inacivity by github-actions:

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugM-T: confirmed bug report. Issues are confirmed when the reproduction steps are documented

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions