예제 #1
0
        /// <summary>
        ///
        /// </summary>
        /// <returns>The server's view of the client's current signed prekey.</returns>
        /// <exception cref="IOException"></exception>
        public async Task <SignedPreKeyEntity?> GetSignedPreKeyAsync(CancellationToken?token = null)
        {
            if (token == null)
            {
                token = CancellationToken.None;
            }

            return(await pushServiceSocket.GetCurrentSignedPreKeyAsync(token));
        }