// <auto-generated/>
// ReSharper disable All

namespace MyTelegram.Schema.Messages;

///<summary>
/// Obtain a list of related languages that must be used when fetching <a href="https://corefork.telegram.org/api/custom-emoji#emoji-keywords">emoji keyword lists »</a>.Usually the method will return the passed language codes (if localized) + <code>en</code> + some language codes for similar languages (if applicable).
/// See <a href="https://corefork.telegram.org/method/messages.getEmojiKeywordsLanguages" />
///</summary>
[TlObject(0x4e9963b2)]
public sealed class RequestGetEmojiKeywordsLanguages : IRequest<TVector<MyTelegram.Schema.IEmojiLanguage>>
{
    public uint ConstructorId => 0x4e9963b2;
    ///<summary>
    /// The user's language codes
    ///</summary>
    public TVector<string> LangCodes { get; set; }

    public void ComputeFlag()
    {

    }

    public void Serialize(IBufferWriter<byte> writer)
    {
        ComputeFlag();
        writer.Write(ConstructorId);
        writer.Write(LangCodes);
    }

    public void Deserialize(ref ReadOnlyMemory<byte> buffer)
    {
        LangCodes = buffer.Read<TVector<string>>();
    }
}
