iOS SDK v6.5.0 Deprecation Note

Deprecated APIs

AmityClient

Methods
Remarks

registerDeviceForPushNotification(withDeviceToken:, completion:)

Use async registerDeviceForPushNotification(withDeviceToken:) instead.

unregisterDeviceForPushNotification(forUserId:, completion:)

Use async unregisterDeviceForPushNotification(forUserId:) instead.

updateUser(builder:, completion:)

Use async updateUser(builder:) instead.

AmityMessageRepository

Methods
Remarks

deleteMessage(withId:, completion:)

Use async deleteMessage(withId:) instead.

createCustomMessage(options:, completion:)

Use createCustomMessage(options:) instead.

createTextMessage(options:, completion:)

Use async createTextMessage(options:)instead.

createImageMessage(options:, completion:)

Use async createImageMessage(options:)instead.

createAudioMessage(options:, completion:)

Use async createAudioMessage(options:)instead.

createFileMessage(options:, completion:)

Use async createFileMessage(options:)instead.

createVideoMessage(options:, completion:)

Use async createVideoMessage(options:)instead.

AmityUserFlagger

Methods
Remarks

flag(completion:)

Use async flag()instead.

unflag(completion:)

Use async unflag()instead.

Last updated

#3026: New Content: Technical FAQ

Change request updated