BotsLocation

public class BotsLocation : NSObject

The class that represents a location.

  • The title of the location.

    Declaration

    Swift

    public private(set) var title: String? { get }
  • url

    The url for displaying a map of the location.

    Declaration

    Swift

    public private(set) var url: String? { get }
  • The GPS coordinates latitude value.

    Declaration

    Swift

    public private(set) var latitude: Double { get }
  • The GPS coordinates longitude value.

    Declaration

    Swift

    public private(set) var longitude: Double { get }
  • The constructor for initializing a BotsAttachment object.

    Declaration

    Swift

    public init(latitude: Double, longitude: Double, title: String?, url: String?)

    Parameters

    type

    The type of attachment - “file”, “audio”, “video”, “image”.

    url

    The attachment url.