amino-net-group / amino.net Goto Github PK
View Code? Open in Web Editor NEWAn unofficial C# wrapper around Aminos REST API based on Amino.py!
License: MIT License
An unofficial C# wrapper around Aminos REST API based on Amino.py!
License: MIT License
UserAccount requires root key "account" to deserialize properly, which is not given
There is a current issue with the way login_sid / login_session where it will throw invalid request on profile data fetching, I suspect its the lack of the SMDEVICEID
header, I'll add it and see what happens
When I'm trying to write information from community in variable, it throws me an exception:
The JSON value could not be converted to System.String. Path: $.themePack.themePackRevision | LineNumber: 0 | BytePositionInLine: 945."
Example:
Amino.Client client = new Amino.Client();
await client.login(email, password);
await client.join_community(cid);
var community = client.get_community_info(cid); // exception, cid is correct, because join works perfectly.
There is a known issue in the send_message bundle (both for client and subclient), where it will return Invalid Request for no apparent reason, this will likely be fixed in a few updates
Client.register_google has an issue with creating an account or logging into one, the secret type is set to facebook even tho it should be 32
likely due to an oversight, SubClient.generate_invite_code returns Invalid Request, as well as not returning an Invite object even if it was working
It seems there is an issue in the way the JSON for sending audios is structured, it currently encodes the file bytes to base64 but then decodes them back right after
WalletInfo requires "wallet" as root key which it is not getting and therefore not properly deserializing the JSON to an Object
#I saved message.content in a variable text and i want to use text outside the function i have tried to access the the function the subclient but onmessage even just went mad giving me these errors
##here is what i wanted to do first to make it easier on my self -->
static void Main(string[] args, Amino.Client client, Amino.SubClient ndcClient)
{
client.onMessage += onMessageEvent;
// Wait for user input to close the application
Console.WriteLine("Press Enter to exit.");
Console.ReadLine();
}
static void onMessageEvent(Amino.Objects.Message message,Amino.SubClient ndcClinent)
{
var text = message.content;
Console.WriteLine(message.content);
if ( message.content == "hey")
{
ndcClient.start_chat("907b17a7-5239-417f-9fd6-16cb309dbe32", "hey");
ndcClient.send_message(chatId: message.chatId.ToString(), message: "heyhey");
}
}
Main(args, client,ndcClient);
##Error
No overload for 'onMessageEvent' matches delegate 'Action<Message>'
A static local function cannot contain a reference to 'this' or 'base'
#here what im trying to do as a solution but i have a lack of knowledge in c#
static void Main(string[] args, Amino.Client client, Amino.SubClient ndcClient)
{
client.onMessage += onMessageEvent;
// Wait for user input to close the application
Console.WriteLine("Press Enter to exit.");
Console.ReadLine();
}
static void onMessageEvent(Amino.Objects.Message message)
{
var text = message.content;
Console.WriteLine(message.content);
}
Main(args, client,ndcClient);
if ( text== "hey")
{
ndcClient.start_chat("907b17a7-5239-417f-9fd6-16cb309dbe32", "hey");
ndcClient.send_message(chatId: chatId.ToString(), message: "heyhey");
}
get_wallet_info - TotalCoins : int -> float
get_chat_threads - LastMessageSummary.MediaType : string -> int
get_from_code - root json element not set to "linkInfoV2" on deserialization
SubClient.send_file_message is trying to add instead of replacing "type" if the user tries to upload an audio file
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.