This repository has been archived by the owner on Jan 16, 2023. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 7
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
messages.getLastActivity, entities from @vknet/vk
- Loading branch information
Showing
25 changed files
with
156 additions
and
47 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
using System; | ||
using System.Collections.Generic; | ||
using System.Linq; | ||
using System.Text; | ||
using System.Threading.Tasks; | ||
|
||
namespace VKSharp.Core.Entities { | ||
public class Chat { | ||
public long Id { get; set; } | ||
public string Type { get; set; } | ||
public string Title { get; set; } | ||
public long? AdminId { get; set; } | ||
public int[] Users { get; set; } | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,18 +1,15 @@ | ||
using VKSharp.Core.Interfaces; | ||
using VKSharp.Core.EntityFragments; | ||
using VKSharp.Core.Interfaces; | ||
|
||
namespace VKSharp.Core.Entities { | ||
public class Comment : IVKEntity<Comment> { | ||
|
||
public Attachment[] Attachments { get; set; } | ||
public CommentLikes Likes { get; set; } | ||
public long Id{ get; set; } | ||
public int FromId{ get; set; } | ||
public int ReplyToId{ get; set; } | ||
public int UserId{ get; set; } | ||
public string Text { get; set; } | ||
public uint Date { get; set; } | ||
public uint Id{ get; set; } | ||
public uint ReplyToCId{ get; set; } | ||
|
||
|
||
public string Text { get; set; } | ||
public int ReplyToUser{ get; set; } | ||
public long ReplyToComment { get; set; } | ||
public Attachment[] Attachments { get; set; } | ||
public CommentLikes Likes { get; set; } | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -2,7 +2,6 @@ | |
|
||
namespace VKSharp.Core.Entities { | ||
public class Counter : IVKEntity<Counter> { | ||
|
||
public uint Count { get; set; } | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,15 +1,16 @@ | ||
using VKSharp.Core.Interfaces; | ||
|
||
namespace VKSharp.Core.Entities { | ||
public class Geo:IVKEntity<Geo> { | ||
|
||
//todo:check geo | ||
public class Geo : IVKEntity<Geo> { | ||
|
||
public string Address { get; set; } | ||
public string Title { get; set; } | ||
public string Type { get; set; } | ||
public uint CityId{ get; set; } | ||
public uint CountryId{ get; set; } | ||
public uint PlaceId{ get; set; } | ||
public uint CityId { get; set; } | ||
public uint CountryId { get; set; } | ||
public uint PlaceId { get; set; } | ||
|
||
|
||
|
||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
using VKSharp.Core.Interfaces; | ||
|
||
namespace VKSharp.Core.Entities { | ||
public class VideoAlbum : OwnedEntity<VideoAlbum> { | ||
public string Title { get; set; } | ||
public long? Count { get; set; } | ||
public string Photo160 { get; set; } | ||
public string Photo320 { get; set; } | ||
} | ||
} |
5 changes: 2 additions & 3 deletions
5
...ces/VKSharp/Core/Entities/CommentLikes.cs → ...harp/Core/EntityFragments/CommentLikes.cs
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,11 +1,10 @@ | ||
using VKSharp.Core.Interfaces; | ||
|
||
namespace VKSharp.Core.Entities { | ||
namespace VKSharp.Core.EntityFragments { | ||
public class CommentLikes:IVKEntity<CommentLikes> { | ||
public uint Count { get; set; } | ||
public bool? UserLikes { get; set; } | ||
public bool? CanLike { get; set; } | ||
|
||
|
||
public bool? CanPublish { get; set; } | ||
} | ||
} |
4 changes: 1 addition & 3 deletions
4
...ces/VKSharp/Core/Entities/PostComments.cs → ...harp/Core/EntityFragments/PostComments.cs
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,10 +1,8 @@ | ||
using VKSharp.Core.Interfaces; | ||
|
||
namespace VKSharp.Core.Entities { | ||
namespace VKSharp.Core.EntityFragments { | ||
public class PostComments:IVKEntity<PostComments> { | ||
public uint Count { get; set; } | ||
public bool? CanPost { get; set; } | ||
|
||
|
||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
using System; | ||
using System.Collections.Generic; | ||
using System.Linq; | ||
using System.Text; | ||
using System.Threading.Tasks; | ||
|
||
namespace VKSharp.Core.Enums { | ||
public enum ChangeNameStatus { | ||
Processing, | ||
Declined, | ||
Success, | ||
WasAccepted, | ||
WasDeclined | ||
} | ||
} |
16 changes: 16 additions & 0 deletions
16
Sources/VKSharp/Core/ResponseEntities/ChangeNameRequest.cs
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
using System; | ||
using System.Collections.Generic; | ||
using System.Linq; | ||
using System.Text; | ||
using System.Threading.Tasks; | ||
using VKSharp.Core.Enums; | ||
|
||
namespace VKSharp.Core.ResponseEntities { | ||
public class ChangeNameRequest { | ||
public int? Id { get; set; } | ||
public ChangeNameStatus? Status { get; set; } | ||
public string RepeatDate { get; set; } | ||
public string FirstName { get; set; } | ||
public string LastName { get; set; } | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
using System; | ||
namespace VKSharp.Core.ResponseEntities { | ||
public class LastActivity { | ||
public bool? IsOnline { get; set; } | ||
public long? Time { get; set; } | ||
} | ||
} |
Oops, something went wrong.