예제 #1
0
        public async Task BoostMessage(string conversationIdentifier, string schema, long messageId)
        {
            var user = await GetCurrentUser();

            currentSchema.Name = schema;
            Console.WriteLine($"Message boosted by {user.Name}");

            var conversationId = long.Parse(conversationIdentifier);
            await conversations.Boost(messageId, user.Id);

            await SendMessage(messageId, user.Id, conversationIdentifier);
        }