Cannot add expires_at when calling create_user_token

[Problem/Question]
Cannot add expires_at when calling create_user_token

In the documentation, it’s specified as a long type in milliseconds, but when making an API request, it must be 13 characters long and not a float, or an error will occur.


[SDK Version]
sendbird-platform-sdk = “==0.0.16”

[Reproduction Steps]

from sendbird_platform_sdk.api import user_api
import sendbird_platform_sdk
from sendbird_platform_sdk.model.create_user_token_data import CreateUserTokenData
configuration = sendbird_platform_sdk.Configuration(
    host=f"https://api-{SENDBIRD_APPLICATION_ID}.sendbird.com"
)
api_client = sendbird_platform_sdk.ApiClient(configuration=configuration)
api_instance = user_api.UserApi(api_client)
create_user_token_data = CreateUserTokenData(expires_at=1638326400000)

It causes the following error:

sendbird_platform_sdk.exceptions.ApiTypeError: Invalid type for variable 'expires_at'. Required value type is float and passed type was int at ['expires_at']

If changed to a float

from sendbird_platform_sdk.api import user_api
import sendbird_platform_sdk
from sendbird_platform_sdk.model.create_user_token_data import CreateUserTokenData
configuration = sendbird_platform_sdk.Configuration(
    host=f"https://api-{SENDBIRD_APPLICATION_ID}.sendbird.com"
)
api_client = sendbird_platform_sdk.ApiClient(configuration=configuration)
api_instance = user_api.UserApi(api_client)
create_user_token_data = CreateUserTokenData(expires_at=1638326400000.0)

api_response = api_instance.create_user_token( user_id=SENDBIRD_USER_ID, api_token=API_TOKEN, create_user_token_data=create_user_token_data )

It causes the following 400 response:

sendbird_platform_sdk.exceptions.ApiException: Status Code: 400
Reason: Bad Request
HTTP response headers: HTTPHeaderDict({'content-type': 'application/json', 'request-id': 'xxxxxxxxxx', 'x-frame-options': 'SAMEORIGIN', 'content-length': '105', 'x-ratelimit-limit': '10;w=1', 'x-ratelimit-remaining': '9', 'x-ratelimit-reset': '0.099999904632568', 'x-ratelimit-retryafter': '0.0', 'x-envoy-upstream-service-time': '57', 'date': 'Fri, 15 Nov 2024 01:29:04 GMT', 'server': 'istio-envoy', 'strict-transport-security': 'max-age=31536000; includeSubDomains'})
HTTP response body: {"error":true,"message":"Invalid value: \"expires_at. Length of expires_at must be 13.\".","code":400111}

[Frequency]
100%

[Current impact]
Cannot add expires_at to create a user token