Class UploadedFile

java.lang.Object
api.longpoll.bots.model.objects.additional.UploadedFile

public class UploadedFile extends Object
An uploaded to VK server file.
  • Constructor Details

    • UploadedFile

      public UploadedFile(String type, int ownerId, int mediaId, String accessKey)
  • Method Details

    • getType

      public String getType()
      Gets file type.
      Returns:
      file type.
    • getOwnerId

      public int getOwnerId()
      Gets owner ID.
      Returns:
      owner ID.
    • getMediaId

      public int getMediaId()
      Gets file ID.
      Returns:
      file ID.
    • getAccessKey

      public String getAccessKey()
      Gets file access_key.
      Returns:
      file access_key.
    • toString

      public String toString()
      Overrides:
      toString in class Object